Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2004 19:45:58 -0700 (PDT)
From:      Vadim Kurland <vadim@vk.crocodile.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72807: [maintainer update] [patch] Fixed port to compile on 4.10
Message-ID:  <200410180245.i9I2jw3Q088012@freebsd410.vk.crocodile.org>
Resent-Message-ID: <200410180250.i9I2oCHr068192@freefall.freebsd.org>

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

>Number:         72807
>Category:       ports
>Synopsis:       [maintainer update] [patch] Fixed port to compile on 4.10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 18 02:50:12 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Vadim Kurland
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
Firewall Builder Project
>Environment:
System: FreeBSD freebsd410.vk.crocodile.org 4.10-RELEASE FreeBSD 4.10-RELEASE #1: Sat Oct 16 22:27:35 PDT 2004 root@freebsd410.vk.crocodile.org:/usr/src/sys/compile/GENERIC i386


	
>Description:
	Port failed to compile on 4.10 because gcc 2.95 does not support command line option
        -Wno-unused-parameter. Attached patch fixes the problem and bumps port revision up.
	With this patch port compiles and works on both 4.10 and 5.3b

>How-To-Repeat:
	
>Fix:

	

--- libfwbuilder-port.diff begins here ---
diff -urN security/libfwbuilder-old/Makefile security/libfwbuilder/Makefile
--- security/libfwbuilder-old/Makefile	Sat Oct 16 22:54:29 2004
+++ security/libfwbuilder/Makefile	Sun Oct 17 18:45:45 2004
@@ -6,7 +6,7 @@
 
 PORTNAME=	libfwbuilder
 PORTVERSION=	2.0.2
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	fwbuilder
diff -urN security/libfwbuilder-old/files/patch-aa security/libfwbuilder/files/patch-aa
--- security/libfwbuilder-old/files/patch-aa	Wed Dec 31 16:00:00 1969
+++ security/libfwbuilder/files/patch-aa	Sat Oct 16 23:59:10 2004
@@ -0,0 +1,13 @@
+--- qmake.inc.in.old	Sat Oct 16 23:41:15 2004
++++ qmake.inc.in	Sat Oct 16 23:41:33 2004
+@@ -45,10 +45,6 @@
+ 
+ 	CONFIG                 += warn_on debug
+ 	INCLUDEPATH            += /usr/include @XML_CFLAGS_Q@ @XSLT_CFLAGS_Q@ @PTHREAD_CFLAGS_Q@ @OPENSSL_CFLAGS_Q@ @LWRES_CFLAGS_Q@
+-	QMAKE_CFLAGS_DEBUG     += -Wno-unused-parameter
+-	QMAKE_CFLAGS_RELEASE   += -Wno-unused-parameter
+-	QMAKE_CXXFLAGS_DEBUG   += -Wno-unused-parameter
+-	QMAKE_CXXFLAGS_RELEASE += -Wno-unused-parameter
+ 	LIBS                   += @PTHREAD_LIBS@ @XML_LIBS@ @XSLT_LIBS@ @OPENSSL_LIBS@ @LIBSNMP_LIBS@ @LWRES_LIBS@ @LIBS@
+ }
+ 
--- libfwbuilder-port.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?200410180245.i9I2jw3Q088012>