From anrays@gmail.com  Fri Jan 21 00:10:12 2005
Return-Path: <anrays@gmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2C53D16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Jan 2005 00:10:12 +0000 (GMT)
Received: from mail-kv.alkar.net (mail-kv.alkar.net [195.248.176.165])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CD38F43D3F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Jan 2005 00:10:11 +0000 (GMT)
	(envelope-from anrays@gmail.com)
Received: from [212.86.240.177] (helo=santinel.home.ua)
	by mail-kv.alkar.net with esmtp (Exim 4.34 (FreeBSD))
	id 1CrmNO-0003IL-92
	for FreeBSD-gnats-submit@freebsd.org; Fri, 21 Jan 2005 02:10:11 +0200
Received: from anray by santinel.home.ua with local (Exim 4.43; FreeBSD)
	id 1CrmNG-0004PV-73
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Jan 2005 02:10:02 +0200
Message-Id: <E1CrmNG-0004PV-73@santinel.home.ua>
Date: Fri, 21 Jan 2005 02:10:02 +0200
From: Andrey Slusar <anrays@gmail.com>
Reply-To: Andrey Slusar <anrays@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] irc/ircd-ru: fix build and unbroken port
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         76517
>Category:       ports
>Synopsis:       [PATCH] irc/ircd-ru: fix build and unbroken port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 21 00:10:22 GMT 2005
>Closed-Date:    Fri Jan 21 11:25:40 GMT 2005
>Last-Modified:  Fri Jan 21 11:30:18 GMT 2005
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->vs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Fri Jan 21 11:16:58 GMT 2005 
Responsible-Changed-Why:  
I think I handled the last one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76517 

From: "Volker Stolz" <vs@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, anrays@gmail.com,
	ip@doom.homeunix.org
Cc:  
Subject: Re: ports/76517: [PATCH] irc/ircd-ru: fix build and unbroken port
Date: Fri, 21 Jan 2005 12:18:36 +0100

 Igor, can you also please double-check the Makefile-patch? After patching,  
 there seem to be TWO FreeBSD-sections and the wrong one gets used.
 
 Volker
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Fri Jan 21 11:25:31 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76517 

From: "Volker Stolz" <vs@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, anrays@gmail.com,
	ip@doom.homeunix.org
Cc:  
Subject: Re: ports/76517: [PATCH] irc/ircd-ru: fix build and unbroken port
Date: Fri, 21 Jan 2005 12:20:36 +0100

 Ooops, the previous rant was for graphics/glew :)
 
 Nevertheless I'll handle this one.
    Volker
>Unformatted:
