From gahr@gahr.ch  Fri Dec 21 19:09:45 2007
Return-Path: <gahr@gahr.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4D9CE16A41A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Dec 2007 19:09:45 +0000 (UTC)
	(envelope-from gahr@gahr.ch)
Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73])
	by mx1.freebsd.org (Postfix) with ESMTP id EB2CD13C457
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Dec 2007 19:09:44 +0000 (UTC)
	(envelope-from gahr@gahr.ch)
Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost)
	by cpanel03.rubas-s03.net with esmtpa (Exim 4.68)
	(envelope-from <gahr@gahr.ch>)
	id 1J5nFg-0000Fx-0r
	for FreeBSD-gnats-submit@freebsd.org; Fri, 21 Dec 2007 20:09:44 +0100
Received: from gahrtop.localhost (localhost [127.0.0.1])
	by gahrtop.localhost (Postfix) with ESMTP id A31B273063
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Dec 2007 20:08:06 +0100 (CET)
Message-Id: <1198264086.46837@gahrtop.localhost>
Date: Fri, 21 Dec 2007 20:08:06 +0100
From: "Pietro Cerutti" <gahr@gahr.ch>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [patch] textproc/iiimf-server unbreak fix build with GCC 4.2
X-Send-Pr-Version: gtk-send-pr 0.4.8 
X-GNATS-Notify:

>Number:         118937
>Category:       ports
>Synopsis:       [patch] textproc/iiimf-server unbreak fix build with GCC 4.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 19:10:01 UTC 2007
>Closed-Date:    Sat Jan 12 13:10:36 UTC 2008
>Last-Modified:  Sat Jan 12 13:20:11 UTC 2008
>Originator:     Pietro Cerutti
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 8.0-CURRENT #18: Tue Dec 18 12:48:22 CET 2007
    root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034



>Description:


fixed extra qualification problem


>How-To-Repeat:





>Fix:


--- _iiimf-server.diff begins here ---
--- Makefile.orig	2007-12-21 19:09:01.000000000 +0100
+++ Makefile	2007-12-21 19:09:17.000000000 +0100
@@ -37,10 +37,6 @@
 IGNORE=	is supported on FreeBSD 5.3 and later only
 .endif
 
-.if ${OSVERSION} >= 700042
-BROKEN=		Does not compile with GCC 4.2
-.endif
-
 .if defined(WITH_DEBUG)
 CFLAGS+=	-g -ggdb -DDEBUG
 .endif
--- /dev/null	2007-12-21 20:06:52.000000000 +0100
+++ files/patch-iiimsf-src_IMSvrXMLConf.hh	2007-12-21 19:20:35.000000000 +0100
@@ -0,0 +1,11 @@
+--- iiimsf/src/IMSvrXMLConf.hh.orig	2007-12-21 19:19:48.000000000 +0100
++++ iiimsf/src/IMSvrXMLConf.hh	2007-12-21 19:20:00.000000000 +0100
+@@ -14,7 +14,7 @@
+ 
+     IMAuth::access_type get_access_type(xmlChar *key);
+ 
+-    string IMSvrXMLConf::parse_text_node(xmlNodePtr &node);
++    string parse_text_node(xmlNodePtr &node);
+     string parse_hostname_node(xmlNodePtr &node);
+     string parse_port_node(xmlNodePtr &node);
+     string parse_file_node(xmlNodePtr &node);
--- _iiimf-server.diff ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Dec 21 19:10:09 UTC 2007 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118937 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jan 12 13:10:35 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/118937: commit references a PR
Date: Sat, 12 Jan 2008 13:11:23 +0000 (UTC)

 miwi        2008-01-12 13:11:16 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/iiimf-server Makefile 
   Added files:
     textproc/iiimf-server/files patch-iiimsf-src_IMSvrXMLConf.hh 
   Log:
   - Fix build with gcc 4.2
   - S/INSTALLS_SHLIB/USE_LDCONFIG
   
   PR:             118937
   Submitted by:   Pietro Cerutti <gahr@gahr.ch>
   
   Revision  Changes    Path
   1.19      +1 -5      ports/textproc/iiimf-server/Makefile
   1.1       +11 -0     ports/textproc/iiimf-server/files/patch-iiimsf-src_IMSvrXMLConf.hh (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
