summaryrefslogtreecommitdiff
path: root/x11/xflame
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-03-06 05:58:28 +0000
committerobache <obache@pkgsrc.org>2008-03-06 05:58:28 +0000
commit239f15e3c26ca96713811765969f29fb50b2c329 (patch)
tree8028ff86be54b4eef42380b812ac6f964d21b391 /x11/xflame
parent1f46ad2c51fab593009555bd6329a35b5814bd4b (diff)
downloadpkgsrc-239f15e3c26ca96713811765969f29fb50b2c329.tar.gz
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 (limited to 'x11/xflame')
-rw-r--r--x11/xflame/Makefile4
-rw-r--r--x11/xflame/distinfo3
-rw-r--r--x11/xflame/patches/patch-ab13
3 files changed, 17 insertions, 3 deletions
diff --git a/x11/xflame/Makefile b/x11/xflame/Makefile
index 56e62ad1268..361078e6373 100644
--- a/x11/xflame/Makefile
+++ b/x11/xflame/Makefile
@@ -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 --git a/x11/xflame/distinfo b/x11/xflame/distinfo
index f151f2a3afb..e5d21b8b67d 100644
--- a/x11/xflame/distinfo
+++ b/x11/xflame/distinfo
@@ -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 --git a/x11/xflame/patches/patch-ab b/x11/xflame/patches/patch-ab
new file mode 100644
index 00000000000..3a146d8030d
--- /dev/null
+++ b/x11/xflame/patches/patch-ab
@@ -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>