diff options
author | bapt <bapt@FreeBSD.org> | 2017-04-03 00:37:07 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2017-04-03 00:37:07 +0800 |
commit | e50ca0f897081e7eacd61bf8dd676f9d5c1eca41 (patch) | |
tree | c937ab62625d77ee4aecd58e8dc2b5539c099d1d /x11-toolkits | |
parent | 1142d7502400a5a703a5552c2c8709af7b1984ea (diff) | |
download | freebsd-ports-gnome-e50ca0f897081e7eacd61bf8dd676f9d5c1eca41.tar.gz freebsd-ports-gnome-e50ca0f897081e7eacd61bf8dd676f9d5c1eca41.tar.zst freebsd-ports-gnome-e50ca0f897081e7eacd61bf8dd676f9d5c1eca41.zip |
Fix build with newer sigc++20
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gtkmm24/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc | 11 | ||||
-rw-r--r-- | x11-toolkits/gtkmm30/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/pangomm/Makefile | 3 |
4 files changed, 18 insertions, 3 deletions
diff --git a/x11-toolkits/gtkmm24/Makefile b/x11-toolkits/gtkmm24/Makefile index b3bb8b87be2e..7022403f96f5 100644 --- a/x11-toolkits/gtkmm24/Makefile +++ b/x11-toolkits/gtkmm24/Makefile @@ -22,7 +22,9 @@ PORTSCOUT= ignore:1 BUILD_DEPENDS= gm4:devel/m4 GNU_CONFIGURE= yes -USES+= gettext gmake libtool:keepla pathfix pkgconfig +USES+= gettext gmake libtool:keepla pathfix pkgconfig \ + compiler:c++11-lang +USE_CXXSTD= gnu++11 USE_LDCONFIG= yes USE_GNOME= atkmm gtk20 pangomm CPPFLAGS+= -I${LOCALBASE}/include diff --git a/x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc b/x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc new file mode 100644 index 000000000000..663a44adbe3a --- /dev/null +++ b/x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc @@ -0,0 +1,11 @@ +--- gtk/gtkmm/menushell.cc.orig 2017-04-02 16:29:30 UTC ++++ gtk/gtkmm/menushell.cc +@@ -130,7 +130,7 @@ MenuList::iterator MenuList::insert(MenuList::iterator + { + const Glib::RefPtr<Gtk::MenuItem> item = element.get_child(); + +- g_return_val_if_fail(item != 0, position); ++ g_return_val_if_fail(item, position); + g_return_val_if_fail(gparent() != 0, position); + + int pos = -1; diff --git a/x11-toolkits/gtkmm30/Makefile b/x11-toolkits/gtkmm30/Makefile index 90ff39f740a6..67a6419c51e1 100644 --- a/x11-toolkits/gtkmm30/Makefile +++ b/x11-toolkits/gtkmm30/Makefile @@ -20,7 +20,8 @@ PORTSCOUT= limitw:1,even BUILD_DEPENDS= gm4:devel/m4 -USES+= gettext gmake libtool pathfix pkgconfig +USES+= gettext gmake libtool pathfix pkgconfig compiler:c++11-lang +USE_CXXSTD= c++11 USE_GNOME= gtk30 glibmm cairomm atkmm pangomm GNU_CONFIGURE= yes USE_LDCONFIG= yes diff --git a/x11-toolkits/pangomm/Makefile b/x11-toolkits/pangomm/Makefile index fdd94a74ecdf..b4eebafdce88 100644 --- a/x11-toolkits/pangomm/Makefile +++ b/x11-toolkits/pangomm/Makefile @@ -18,7 +18,8 @@ PORTSCOUT= limitw:1,even BUILD_DEPENDS= gm4:devel/m4 -USES+= gmake libtool pathfix pkgconfig +USES+= gmake libtool pathfix pkgconfig compiler:c++11-lang +USE_CXXSTD= c++11 USE_GNOME= cairomm glibmm pango GNU_CONFIGURE= yes USE_LDCONFIG= yes |