aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-07-28 02:32:12 +0800
committermarcus <marcus@FreeBSD.org>2003-07-28 02:32:12 +0800
commite0ce82980fdb47d637ff9df2a30295539b6b0694 (patch)
tree124f7d38b40269c0cd552d5b4384d592b291266e
parent3e06c738d17bd0d8b711ad49437334f988141ecc (diff)
downloadfreebsd-ports-gnome-e0ce82980fdb47d637ff9df2a30295539b6b0694.tar.gz
freebsd-ports-gnome-e0ce82980fdb47d637ff9df2a30295539b6b0694.tar.zst
freebsd-ports-gnome-e0ce82980fdb47d637ff9df2a30295539b6b0694.zip
Fix build with GCC 3.x. Since this presents an API change, bump PORTREVISION.
Reported by: bento
-rw-r--r--x11-toolkits/gnome--/Makefile1
-rw-r--r--x11-toolkits/gnome--/files/patch-src_gnome--_app-helper.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/gnome--/Makefile b/x11-toolkits/gnome--/Makefile
index 4e25035b2b5d..4b00e455e9d1 100644
--- a/x11-toolkits/gnome--/Makefile
+++ b/x11-toolkits/gnome--/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomemm
PORTVERSION= 1.2.4
+PORTREVISION= 1
CATEGORIES= x11-toolkits gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.2
diff --git a/x11-toolkits/gnome--/files/patch-src_gnome--_app-helper.h b/x11-toolkits/gnome--/files/patch-src_gnome--_app-helper.h
new file mode 100644
index 000000000000..b219148813ef
--- /dev/null
+++ b/x11-toolkits/gnome--/files/patch-src_gnome--_app-helper.h
@@ -0,0 +1,11 @@
+--- src/gnome--/app-helper.h.orig Sun Jul 27 13:56:52 2003
++++ src/gnome--/app-helper.h Sun Jul 27 14:00:25 2003
+@@ -40,7 +40,7 @@
+ template<class T_Info>
+ class Array;
+
+-class Info : protected GnomeUIInfo
++class Info : public GnomeUIInfo
+ {
+ /* Note when deriving this, you must not add any fields nor may you
+ add any virtuals */