diff options
author | bapt <bapt@FreeBSD.org> | 2017-04-03 00:37:07 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2017-04-09 21:29:19 +0800 |
commit | b78df34b3d80e4f53c6f25a7f058b8d769aa55cf (patch) | |
tree | cca28f119c09559a0fd4429bf1ead1e5514d9d02 | |
parent | d6d513342dd6b50141ce1bc69b984442bb048a6d (diff) | |
download | freebsd-ports-gnome-b78df34b3d80e4f53c6f25a7f058b8d769aa55cf.tar.gz freebsd-ports-gnome-b78df34b3d80e4f53c6f25a7f058b8d769aa55cf.tar.zst freebsd-ports-gnome-b78df34b3d80e4f53c6f25a7f058b8d769aa55cf.zip |
Fix build with newer sigc++20
-rw-r--r-- | graphics/cairomm/Makefile | 3 | ||||
-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 | 6 | ||||
-rw-r--r-- | x11-toolkits/pangomm/Makefile | 3 |
5 files changed, 21 insertions, 6 deletions
diff --git a/graphics/cairomm/Makefile b/graphics/cairomm/Makefile index 71d63ad2ddd1..cb2a57c47a56 100644 --- a/graphics/cairomm/Makefile +++ b/graphics/cairomm/Makefile @@ -14,7 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USE_LDCONFIG= yes -USES= gmake libtool localbase pathfix pkgconfig +USES= gmake libtool pathfix pkgconfig compiler:c++11-lang +USE_CXXSTD= c++11 USE_GNOME= cairo libxml++26 CONFIGURE_ENV= AUTOMAKE="${TRUE}" AUTOCONF="${TRUE}" DOXYGEN="${TRUE}" 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 f60105954ad3..c8e8c1f2c7cc 100644 --- a/x11-toolkits/gtkmm30/Makefile +++ b/x11-toolkits/gtkmm30/Makefile @@ -23,9 +23,9 @@ PORTSCOUT= limitw:1,even BUILD_DEPENDS= gm4:devel/m4 -USES+= gettext gmake libtool localbase pathfix \ - pkgconfig -USE_GNOME= gdkpixbuf2 gtk30 glibmm cairomm atkmm pangomm +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 CONFIGURE_ARGS= --disable-documentation diff --git a/x11-toolkits/pangomm/Makefile b/x11-toolkits/pangomm/Makefile index 486856573e6d..0f62765bbc5d 100644 --- a/x11-toolkits/pangomm/Makefile +++ b/x11-toolkits/pangomm/Makefile @@ -21,7 +21,8 @@ PORTSCOUT= limitw:1,even BUILD_DEPENDS= gm4:devel/m4 -USES+= gettext-runtime gmake libtool localbase 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 |