summaryrefslogtreecommitdiff
path: root/chat/epic4
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-17 14:19:59 +0000
committerrillig <rillig>2007-03-17 14:19:59 +0000
commit57f53161c4336c3ab0b6dc7b9b2b99beda3874cd (patch)
tree7f94d43e21cf439bdcadf9b6855509c6f94d7569 /chat/epic4
parentf3a0a65dd28ebac1bfef9e56763846cb57422940 (diff)
downloadpkgsrc-57f53161c4336c3ab0b6dc7b9b2b99beda3874cd.tar.gz
Fixed build error with gcc4.
Diffstat (limited to 'chat/epic4')
-rw-r--r--chat/epic4/distinfo3
-rw-r--r--chat/epic4/patches/patch-aa19
2 files changed, 21 insertions, 1 deletions
diff --git a/chat/epic4/distinfo b/chat/epic4/distinfo
index 4c85d6d5e62..323c473c663 100644
--- a/chat/epic4/distinfo
+++ b/chat/epic4/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2005/04/04 08:56:54 wiz Exp $
+$NetBSD: distinfo,v 1.10 2007/03/17 14:19:59 rillig Exp $
SHA1 (epic4-2.2.tar.bz2) = 88d4140e693b571ceb8148f98d504a5fefa74076
RMD160 (epic4-2.2.tar.bz2) = 8f1f1b446bd3260e665093864f1becc0b625be32
Size (epic4-2.2.tar.bz2) = 623254 bytes
+SHA1 (patch-aa) = c00699223db490c044d07754d73078c4f768e3a3
diff --git a/chat/epic4/patches/patch-aa b/chat/epic4/patches/patch-aa
new file mode 100644
index 00000000000..10a0ede1661
--- /dev/null
+++ b/chat/epic4/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.3 2007/03/17 14:19:59 rillig Exp $
+
+gcc4 complains:
+term.c:98: error: conflicting types for 'tparm'
+term.c:98: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
+./../include/compat.h:10: error: previous declaration of 'tparm' was here
+
+--- source/term.c.orig 2003-12-03 23:17:40.000000000 +0100
++++ source/term.c 2007-03-17 15:16:22.000000000 +0100
+@@ -94,8 +94,7 @@ extern int tgetflag();
+ #define Tgetflag(x) tgetflag(x.tname)
+ #endif
+
+-extern char *getenv();
+-extern char *tparm();
++#include <stdlib.h>
+
+ /*
+ * The old code assumed termcap. termcap is almost always present, but on