ports/116815: [PATCH] security/kgpg: Fix build with gcc 4.2

Martin Wilke miwi at FreeBSD.org
Tue Oct 2 09:10:04 UTC 2007


>Number:         116815
>Category:       ports
>Synopsis:       [PATCH] security/kgpg: Fix build with gcc 4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 02 09:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Wilke
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD miwi.homeunix.com 7.0-CURRENT FreeBSD 7.0-CURRENT #305: Fri Sep 28 12:07:59 CEST 2007
>Description:
Fix build with gcc 4.2

tinderbox checked
i386
http://head.miwibox.org/tb/index.php?action=describe_port&id=2149
amd64
http://amd64.miwibox.org/tb/index.php?action=describe_port&id=1589

Added file(s):
- files/patch-kgpg-kgpg_kgpgeditor.h

Port maintainer (rick at rptn.net) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- kgpg-1.0.0_7.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/kgpg/Makefile,v
retrieving revision 1.20
diff -u -u -r1.20 Makefile
--- Makefile	30 Sep 2007 10:55:57 -0000	1.20
+++ Makefile	1 Oct 2007 20:53:24 -0000
@@ -25,10 +25,4 @@
 post-patch:
 	@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN=		Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: files/patch-kgpg-kgpg_kgpgeditor.h
===================================================================
RCS file: files/patch-kgpg-kgpg_kgpgeditor.h
diff -N files/patch-kgpg-kgpg_kgpgeditor.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-kgpg-kgpg_kgpgeditor.h	1 Oct 2007 20:50:39 -0000
@@ -0,0 +1,11 @@
+--- kgpg/kgpg/kgpgeditor.h.orig	2007-10-01 22:48:13.000000000 +0200
++++ kgpg/kgpg/kgpgeditor.h	2007-10-01 22:50:17.000000000 +0200
+@@ -54,7 +54,7 @@
+ 
+  
+  
+- class KgpgApp : public KMainWindow
++ class KgpgView;  class KgpgApp : public KMainWindow
+   {
+     Q_OBJECT
+ 
--- kgpg-1.0.0_7.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list