From 08f2e0f5a5e7faaa5f8d3975369de5d6f3b59e59 Mon Sep 17 00:00:00 2001 From: vs Date: Fri, 21 Jan 2005 11:25:24 +0000 Subject: Unbreak on 5.x (gcc34) PR: ports/76517 Submitted by: Andrey Slusar --- irc/ircd-ru/Makefile | 4 ---- irc/ircd-ru/files/patch-res.c | 11 +++++++++++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 irc/ircd-ru/files/patch-res.c (limited to 'irc/ircd-ru') 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 -.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; + -- cgit