aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-10-17 17:45:28 +0800
committermiwi <miwi@FreeBSD.org>2007-10-17 17:45:28 +0800
commitaa3334a32c8ebf6ef51069b9d62ae5cf183742a0 (patch)
tree5e148e1e2df49a9db041e3e43b9cb90fdac0beaa
parent1897f0a74ecf29b0b96d5e427e4db6dabef6ea7c (diff)
downloadfreebsd-ports-gnome-aa3334a32c8ebf6ef51069b9d62ae5cf183742a0.tar.gz
freebsd-ports-gnome-aa3334a32c8ebf6ef51069b9d62ae5cf183742a0.tar.zst
freebsd-ports-gnome-aa3334a32c8ebf6ef51069b9d62ae5cf183742a0.zip
- Unbreak
- Fix build gcc 4.2 PR: 116815 Submitted by: miwi Approved by: maintainer timeout
-rw-r--r--security/kgpg/Makefile8
-rw-r--r--security/kgpg/files/patch-kgpg-kgpg_kgpgeditor.h11
2 files changed, 12 insertions, 7 deletions
diff --git a/security/kgpg/Makefile b/security/kgpg/Makefile
index 0bac598cfe39..e8771f7d0ca7 100644
--- a/security/kgpg/Makefile
+++ b/security/kgpg/Makefile
@@ -25,10 +25,4 @@ USE_KDELIBS_VER= 3
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>
diff --git a/security/kgpg/files/patch-kgpg-kgpg_kgpgeditor.h b/security/kgpg/files/patch-kgpg-kgpg_kgpgeditor.h
new file mode 100644
index 000000000000..a9935646bbd4
--- /dev/null
+++ b/security/kgpg/files/patch-kgpg-kgpg_kgpgeditor.h
@@ -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
+