pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xflame Include required header files to use some f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b12a63fe11af
branches:  trunk
changeset: 539457:b12a63fe11af
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Mar 06 05:58:28 2008 +0000

description:
Include required header files to use some funcions(malloc, strcpy, exit).
Fixes pointer=>int truncate problems on 64bit platforms.
Patch provided by Gilles Dauphin in PR 35476.

Bump PKGREVISION.

diffstat:

 x11/xflame/Makefile         |   4 ++--
 x11/xflame/distinfo         |   3 ++-
 x11/xflame/patches/patch-ab |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 748b059685e7 -r b12a63fe11af x11/xflame/Makefile
--- a/x11/xflame/Makefile       Thu Mar 06 04:46:46 2008 +0000
+++ b/x11/xflame/Makefile       Thu Mar 06 05:58:28 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2007/01/09 10:16:19 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/06 05:58:28 obache Exp $
 #
 
 DISTNAME=      xflame-1.1.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    x11
 MASTER_SITES=  http://www.owlnet.rice.edu/~rahul/
 
diff -r 748b059685e7 -r b12a63fe11af x11/xflame/distinfo
--- a/x11/xflame/distinfo       Thu Mar 06 04:46:46 2008 +0000
+++ b/x11/xflame/distinfo       Thu Mar 06 05:58:28 2008 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 17:36:23 wiz Exp $
+$NetBSD: distinfo,v 1.4 2008/03/06 05:58:29 obache Exp $
 
 SHA1 (xflame-1.1.1.tar.gz) = e76ac080115275e78590fbe1c6206da75dc99fd7
 RMD160 (xflame-1.1.1.tar.gz) = a200a0ad1a88ddc1420c1ec6b75fddadb6adb703
 Size (xflame-1.1.1.tar.gz) = 10439 bytes
 SHA1 (patch-aa) = 44aa8318dfd12c94a9498839cb669a699666eb5c
+SHA1 (patch-ab) = 9438a0a058d4c00a2725869556dc2bff8e7c5f69
diff -r 748b059685e7 -r b12a63fe11af x11/xflame/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xflame/patches/patch-ab       Thu Mar 06 05:58:28 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2008/03/06 05:58:29 obache Exp $
+
+--- xflame.c.orig      1998-12-16 07:28:03.000000000 +0000
++++ xflame.c
+@@ -29,6 +29,8 @@
+ /* INCLUDES! */
+ #include <stdio.h>
+ #include <unistd.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <time.h>



Home | Main Index | Thread Index | Old Index