Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 02:10:02 +0200
From:      Andrey Slusar <anrays@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76517: [PATCH] irc/ircd-ru: fix build and unbroken port
Message-ID:  <E1CrmNG-0004PV-73@santinel.home.ua>
Resent-Message-ID: <200501210010.j0L0ANhP089686@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76517
>Category:       ports
>Synopsis:       [PATCH] irc/ircd-ru: fix build and unbroken port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 21 00:10:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Slusar
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Jan 5 01:07:57 EET 2005 anray@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	New file files/patch-res.c

	Fix build on FreeBSD > 5.2
>How-To-Repeat:
	
>Fix:

--- ircd-ru.diff begins here ---
diff -ruN irc/ircd-ru/Makefile irc/ircd-ru.new/Makefile
--- irc/ircd-ru/Makefile	Mon Aug 16 07:10:28 2004
+++ irc/ircd-ru.new/Makefile	Fri Jan 21 01:59:15 2005
@@ -63,10 +63,6 @@
 
 .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 -ruN irc/ircd-ru/files/patch-res.c irc/ircd-ru.new/files/patch-res.c
--- irc/ircd-ru/files/patch-res.c	Thu Jan  1 03:00:00 1970
+++ irc/ircd-ru.new/files/patch-res.c	Fri Jan 21 02:01:01 2005
@@ -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;
+ 
--- ircd-ru.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1CrmNG-0004PV-73>