ports/72807: [maintainer update] [patch] Fixed port to compile on 4.10
Vadim Kurland
vadim at vk.crocodile.org
Mon Oct 18 02:50:13 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list