summaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-01-21 11:25:24 +0000
committervs <vs@FreeBSD.org>2005-01-21 11:25:24 +0000
commit08f2e0f5a5e7faaa5f8d3975369de5d6f3b59e59 (patch)
tree0068871fc62599796bef623eff547ca07c26a823 /irc
parentb4a88f01d950c785fd596e063934a6ee6524b1f8 (diff)
downloadFreeBSD-ports-08f2e0f5a5e7faaa5f8d3975369de5d6f3b59e59.zip
FreeBSD-ports-08f2e0f5a5e7faaa5f8d3975369de5d6f3b59e59.tar.gz
Unbreak on 5.x (gcc34)
PR: ports/76517 Submitted by: Andrey Slusar
Diffstat (limited to 'irc')
-rw-r--r--irc/ircd-ru/Makefile4
-rw-r--r--irc/ircd-ru/files/patch-res.c11
2 files changed, 11 insertions, 4 deletions
diff --git a/irc/ircd-ru/Makefile b/irc/ircd-ru/Makefile
index 7664076..13dd1f5 100644
--- a/irc/ircd-ru/Makefile
+++ b/irc/ircd-ru/Makefile
@@ -63,10 +63,6 @@ CONFIGURE_ARGS+=--enable-select
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile with gcc 3.4.2"
-.endif
-
.if ${ARCH} == "amd64"
BROKEN= "Does not compile on amd64"
.endif
diff --git a/irc/ircd-ru/files/patch-res.c b/irc/ircd-ru/files/patch-res.c
new file mode 100644
index 0000000..5723852
--- /dev/null
+++ b/irc/ircd-ru/files/patch-res.c
@@ -0,0 +1,11 @@
+--- src/res.c.orig Fri Jan 21 02:00:34 2005
++++ src/res.c Fri Jan 21 02:00:46 2005
+@@ -50,7 +50,7 @@
+ * don't do DNS on this ip. */
+
+ #undef DEBUG /* because theres alot of debug code in here */
+-extern void debug();
++/* extern void debug(); */
+
+ struct in_addr reslocaladdr;
+
OpenPOWER on IntegriCloud