pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/craft Fix GCC 3.3.1 related build problem.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/584b2a87e736
branches:  trunk
changeset: 462130:584b2a87e736
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Sep 26 14:04:54 2003 +0000

description:
Fix GCC 3.3.1 related build problem.

diffstat:

 games/craft/Makefile         |   5 ++++-
 games/craft/distinfo         |   4 +++-
 games/craft/patches/patch-aa |  11 +++++++++++
 games/craft/patches/patch-ai |  12 ++++++++++++
 4 files changed, 30 insertions(+), 2 deletions(-)

diffs (68 lines):

diff -r 4fd415abc15a -r 584b2a87e736 games/craft/Makefile
--- a/games/craft/Makefile      Fri Sep 26 13:35:36 2003 +0000
+++ b/games/craft/Makefile      Fri Sep 26 14:04:54 2003 +0000
@@ -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 @@
 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 -r 4fd415abc15a -r 584b2a87e736 games/craft/distinfo
--- a/games/craft/distinfo      Fri Sep 26 13:35:36 2003 +0000
+++ b/games/craft/distinfo      Fri Sep 26 14:04:54 2003 +0000
@@ -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-af) = 35c9cae9fc803b9e9d7fa4714bbe4fea6972654b
 SHA1 (patch-ag) = 970a96a63c86b16b3b588bc90257c5914e3c35d5
 SHA1 (patch-ah) = 56b09c1fb761e88586cc66de6f1b8079c0f7a785
+SHA1 (patch-ai) = 437500858d90fb24f8fa494269ac83e501630738
diff -r 4fd415abc15a -r 584b2a87e736 games/craft/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/craft/patches/patch-aa      Fri Sep 26 14:04:54 2003 +0000
@@ -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 -r 4fd415abc15a -r 584b2a87e736 games/craft/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/craft/patches/patch-ai      Fri Sep 26 14:04:54 2003 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index