aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libgnomecanvasmm
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2004-08-04 12:44:31 +0800
committerbland <bland@FreeBSD.org>2004-08-04 12:44:31 +0800
commit2d3f254e24b69b826cc85a3c9687c3409f4825a5 (patch)
tree47ae05b5661a53264803ac1cdc3e4f114f4f47bb /graphics/libgnomecanvasmm
parent21e677b347d0241e239036b1e80aeaa19e453936 (diff)
downloadfreebsd-ports-gnome-2d3f254e24b69b826cc85a3c9687c3409f4825a5.tar.gz
freebsd-ports-gnome-2d3f254e24b69b826cc85a3c9687c3409f4825a5.tar.zst
freebsd-ports-gnome-2d3f254e24b69b826cc85a3c9687c3409f4825a5.zip
Fix build with gcc 3.4
Diffstat (limited to 'graphics/libgnomecanvasmm')
-rw-r--r--graphics/libgnomecanvasmm/Makefile4
-rw-r--r--graphics/libgnomecanvasmm/files/patch-libgnomecanvas::libgnomecanvasmm::line.h11
2 files changed, 15 insertions, 0 deletions
diff --git a/graphics/libgnomecanvasmm/Makefile b/graphics/libgnomecanvasmm/Makefile
index d1014241ad14..00132c34080f 100644
--- a/graphics/libgnomecanvasmm/Makefile
+++ b/graphics/libgnomecanvasmm/Makefile
@@ -26,4 +26,8 @@ USE_INC_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-static
+post-patch:
+ @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
+ ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/graphics/libgnomecanvasmm/files/patch-libgnomecanvas::libgnomecanvasmm::line.h b/graphics/libgnomecanvasmm/files/patch-libgnomecanvas::libgnomecanvasmm::line.h
new file mode 100644
index 000000000000..8dd854c0d348
--- /dev/null
+++ b/graphics/libgnomecanvasmm/files/patch-libgnomecanvas::libgnomecanvasmm::line.h
@@ -0,0 +1,11 @@
+--- libgnomecanvas/libgnomecanvasmm/line.h.orig Wed Aug 4 13:38:03 2004
++++ libgnomecanvas/libgnomecanvasmm/line.h Wed Aug 4 13:38:23 2004
+@@ -286,7 +286,7 @@
+ {
+
+ template <>
+-class Glib::Value<Gnome::Canvas::Points> : public Glib::Value_Boxed<Gnome::Canvas::Points>
++class Value<Gnome::Canvas::Points> : public Glib::Value_Boxed<Gnome::Canvas::Points>
+ {
+ public:
+ static GType value_type() G_GNUC_CONST;