diff options
author | tron <tron@pkgsrc.org> | 2003-09-26 14:04:54 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2003-09-26 14:04:54 +0000 |
commit | 1bd9005501556aa2080f6e72d959848f92ee671b (patch) | |
tree | dc0f0160ab146bbc3b188d8d455ebef088db7094 /games | |
parent | e27d0c7670f0a1a0e009069320bc90bca58b8048 (diff) | |
download | pkgsrc-1bd9005501556aa2080f6e72d959848f92ee671b.tar.gz |
Fix GCC 3.3.1 related build problem.
Diffstat (limited to 'games')
-rw-r--r-- | games/craft/Makefile | 5 | ||||
-rw-r--r-- | games/craft/distinfo | 4 | ||||
-rw-r--r-- | games/craft/patches/patch-aa | 11 | ||||
-rw-r--r-- | games/craft/patches/patch-ai | 12 |
4 files changed, 30 insertions, 2 deletions
diff --git a/games/craft/Makefile b/games/craft/Makefile index c4d48b610e9..1d74a5291a0 100644 --- a/games/craft/Makefile +++ b/games/craft/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2003/03/29 12:41:01 jmmv Exp $ +# $NetBSD: Makefile,v 1.10 2003/09/26 14:04:54 tron Exp $ DISTNAME= craftcc35 PKGNAME= craft-3.5 @@ -17,6 +17,9 @@ USE_X11BASE= yes post-extract: @${FIND} ${WRKSRC} -type f -name '*~' | ${XARGS} ${RM} -f @${LN} -fs ${FILESDIR}/Makefile ${WRKSRC} + for FILE in `find ${WRKSRC} -name "*.hc" -type f`; do \ + echo >>$$FILE ""; \ + done post-patch: ${RM} -f ${WRKSRC}/hcc/hcc diff --git a/games/craft/distinfo b/games/craft/distinfo index 84f66dd10ea..488726d9a71 100644 --- a/games/craft/distinfo +++ b/games/craft/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2001/12/19 10:51:19 tron Exp $ +$NetBSD: distinfo,v 1.5 2003/09/26 14:04:54 tron Exp $ SHA1 (craftcc35.tar.Z) = 8862b9001aa7d752a597033ef45d38ebfcee533f Size (craftcc35.tar.Z) = 3123677 bytes +SHA1 (patch-aa) = 4be0033e5b4fd72713215ef313e6c7b77f6c5d99 SHA1 (patch-ab) = 32f77d3208af98a26b4a505f51011b33c106b21d SHA1 (patch-ac) = 93eeef71231abbb5f5210cb7a4d9dac8d476b719 SHA1 (patch-ad) = 096eb8db33986f115efb810f9768661917661fd8 @@ -9,3 +10,4 @@ SHA1 (patch-ae) = a891a2a2d80ae37eb0dcc5c218fbc8d8f9e6d2b0 SHA1 (patch-af) = 35c9cae9fc803b9e9d7fa4714bbe4fea6972654b SHA1 (patch-ag) = 970a96a63c86b16b3b588bc90257c5914e3c35d5 SHA1 (patch-ah) = 56b09c1fb761e88586cc66de6f1b8079c0f7a785 +SHA1 (patch-ai) = 437500858d90fb24f8fa494269ac83e501630738 diff --git a/games/craft/patches/patch-aa b/games/craft/patches/patch-aa new file mode 100644 index 00000000000..7e21a499ad3 --- /dev/null +++ b/games/craft/patches/patch-aa @@ -0,0 +1,11 @@ +$NetBSD: patch-aa,v 1.3 2003/09/26 14:04:54 tron Exp $ + +--- cry.h.orig 1997-02-24 12:58:31.000000000 +0100 ++++ cry.h 2003-09-26 16:00:39.000000000 +0200 +@@ -1,4 +1,5 @@ +-#include "stdio.h" ++#include <stdio.h> ++#include <stdlib.h> + + /*-------------------------------------------------------------------------*/ + /* cry.h */ diff --git a/games/craft/patches/patch-ai b/games/craft/patches/patch-ai new file mode 100644 index 00000000000..1d967e209c4 --- /dev/null +++ b/games/craft/patches/patch-ai @@ -0,0 +1,12 @@ +$NetBSD: patch-ai,v 1.1 2003/09/26 14:04:54 tron Exp $ + +--- ppm_handler.h.orig 1997-02-21 12:52:17.000000000 +0100 ++++ ppm_handler.h 2003-09-26 16:02:13.000000000 +0200 +@@ -7,6 +7,7 @@ + /* */ + /*======================================================================*/ + ++#include <string.h> + #include "bool.h" + + bool ppm_size (char name [], int &dx, int &dy, int &color); |