summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-07-27 13:25:14 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-07-27 13:25:14 +0000
commitf52b6275e38029b7057049ea7f1ec1abf1168426 (patch)
tree11260da69da4b4933938c35719be28067b24ef5b /x11-toolkits
parentAdd additional reference, bump modified date. (diff)
Add patch to fix build with clang.
Use USES=gmake and pathfix Approved by: maintainer (implicit)
Notes
Notes: svn path=/head/; revision=323784
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/libgnomeuimm/Makefile10
-rw-r--r--x11-toolkits/libgnomeuimm/files/patch-examples_iconlist_iconlist.cc10
2 files changed, 13 insertions, 7 deletions
diff --git a/x11-toolkits/libgnomeuimm/Makefile b/x11-toolkits/libgnomeuimm/Makefile
index c9cf9d882c58..a9a1864ec678 100644
--- a/x11-toolkits/libgnomeuimm/Makefile
+++ b/x11-toolkits/libgnomeuimm/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libgnomeuimm
-# Date created: 22 May 2003
-# Whom: Alexander Nedotsukov <bland@mail.ru>
-#
+# Created by: Alexander Nedotsukov <bland@mail.ru>
# $FreeBSD$
-#
PORTNAME= libgnomeuimm
PORTVERSION= 2.0.0
@@ -21,8 +17,8 @@ LIB_DEPENDS= gnomemm-2.0:${PORTSDIR}/x11/libgnomemm \
glademm-2.0:${PORTSDIR}/devel/libglademm
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
-USE_GMAKE= yes
-USE_GNOME= gnomehack libgnomeui
+USES= gmake pathfix
+USE_GNOME= libgnomeui
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-static
diff --git a/x11-toolkits/libgnomeuimm/files/patch-examples_iconlist_iconlist.cc b/x11-toolkits/libgnomeuimm/files/patch-examples_iconlist_iconlist.cc
new file mode 100644
index 000000000000..8711046f9f43
--- /dev/null
+++ b/x11-toolkits/libgnomeuimm/files/patch-examples_iconlist_iconlist.cc
@@ -0,0 +1,10 @@
+--- examples/iconlist/iconlist.cc.orig 2013-07-27 15:02:04.000000000 +0200
++++ examples/iconlist/iconlist.cc 2013-07-27 15:02:40.000000000 +0200
+@@ -58,6 +58,7 @@
+ show_all_children ();
+ }
+
++int
+ main (int argc, char *argv[])
+ {
+ Gnome::Main kit ("Iconlist", "0.0.0", Gnome::UI::module_info_get(), argc, argv);