aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ircd-ru
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-01-21 19:25:24 +0800
committervs <vs@FreeBSD.org>2005-01-21 19:25:24 +0800
commit08f2e0f5a5e7faaa5f8d3975369de5d6f3b59e59 (patch)
tree0068871fc62599796bef623eff547ca07c26a823 /irc/ircd-ru
parentb4a88f01d950c785fd596e063934a6ee6524b1f8 (diff)
downloadfreebsd-ports-gnome-08f2e0f5a5e7faaa5f8d3975369de5d6f3b59e59.tar.gz
freebsd-ports-gnome-08f2e0f5a5e7faaa5f8d3975369de5d6f3b59e59.tar.zst
freebsd-ports-gnome-08f2e0f5a5e7faaa5f8d3975369de5d6f3b59e59.zip
Unbreak on 5.x (gcc34)
PR: ports/76517 Submitted by: Andrey Slusar
Diffstat (limited to 'irc/ircd-ru')
-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 7664076e2ef9..13dd1f54696d 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 000000000000..57238525644b
--- /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;
+