summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch')
-rw-r--r--net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch b/net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch
index 642e9eed6920..db549a6824ca 100644
--- a/net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch
+++ b/net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch
@@ -1,13 +1,15 @@
---- source/term.c.orig 2004-06-19 21:40:36.757653368 +0000
-+++ source/term.c 2004-06-19 21:41:31.783563978 +0000
-@@ -91,8 +91,8 @@
+--- source/term.c
++++ source/term.c
+@@ -91,8 +91,10 @@
#define Tgetflag(x) tgetflag(x.tname)
#endif
-extern char *getenv();
-extern char *tparm();
+extern char *getenv(const char *name);
++#ifndef TPARM_DECLARED
+extern char *tparm(char *str, ...);
++#endif
/*
* The old code assumed termcap. termcap is almost always present, but on