summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2006-01-15 16:56:26 +0000
committerchristos <christos@pkgsrc.org>2006-01-15 16:56:26 +0000
commit39681061f94d126886b7af77b379c11098179145 (patch)
tree7a5dcd399e4684193855d88986275c25bd4d2fa0
parentdf39f569639affc75d2f73b7a5972f5c48b84ea2 (diff)
downloadpkgsrc-39681061f94d126886b7af77b379c11098179145.tar.gz
avoid instant core-dump.
-rw-r--r--games/xsc/Makefile3
-rw-r--r--games/xsc/distinfo3
-rw-r--r--games/xsc/patches/patch-aa12
3 files changed, 16 insertions, 2 deletions
diff --git a/games/xsc/Makefile b/games/xsc/Makefile
index ff0a77d231b..ad9926aa363 100644
--- a/games/xsc/Makefile
+++ b/games/xsc/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2005/06/16 06:57:56 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2006/01/15 16:56:26 christos Exp $
#
DISTNAME= xsc-1.5
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.panix.com/~mbh/xsc/
diff --git a/games/xsc/distinfo b/games/xsc/distinfo
index c0bfde54849..5c19176ffdc 100644
--- a/games/xsc/distinfo
+++ b/games/xsc/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 23:12:05 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/01/15 16:56:26 christos Exp $
SHA1 (xsc-1.5.tar.gz) = 3b6b71c2e9d132c56e276896f4869dc08a0e43a3
RMD160 (xsc-1.5.tar.gz) = d2519f75ad3089215b4c89ee765d1585de37db33
Size (xsc-1.5.tar.gz) = 86015 bytes
+SHA1 (patch-aa) = 4da7181d8037d0d334fbd5330a91a45a50b59753
diff --git a/games/xsc/patches/patch-aa b/games/xsc/patches/patch-aa
new file mode 100644
index 00000000000..a42a04e6d8f
--- /dev/null
+++ b/games/xsc/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2006/01/15 16:56:26 christos Exp $
+
+--- text.C.orig 2006-01-15 06:53:55.000000000 -0500
++++ text.C 2006-01-15 06:52:26.000000000 -0500
+@@ -15,6 +15,7 @@
+ Text::Text(void)
+ {
+ //fprintf(stderr, "Text::Text()\n");
++ set_message("");
+ set_scale(6.0);
+ set_gc(fetch_gc(GC_BLUE));
+ } // Text::Text