svn commit: r437569 - in head: graphics/cairomm x11-toolkits/gtkmm24 x11-toolkits/gtkmm24/files x11-toolkits/gtkmm30 x11-toolkits/pangomm

Baptiste Daroussin bapt at FreeBSD.org
Sun Apr 2 16:37:09 UTC 2017


Author: bapt
Date: Sun Apr  2 16:37:07 2017
New Revision: 437569
URL: https://svnweb.freebsd.org/changeset/ports/437569

Log:
  Fix build with newer sigc++20

Added:
  head/x11-toolkits/gtkmm24/files/
  head/x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc   (contents, props changed)
Modified:
  head/graphics/cairomm/Makefile
  head/x11-toolkits/gtkmm24/Makefile
  head/x11-toolkits/gtkmm30/Makefile
  head/x11-toolkits/pangomm/Makefile

Modified: head/graphics/cairomm/Makefile
==============================================================================
--- head/graphics/cairomm/Makefile	Sun Apr  2 16:21:07 2017	(r437568)
+++ head/graphics/cairomm/Makefile	Sun Apr  2 16:37:07 2017	(r437569)
@@ -15,7 +15,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USES=		gmake libtool 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}"
 CPPFLAGS+=	-I${LOCALBASE}/include

Modified: head/x11-toolkits/gtkmm24/Makefile
==============================================================================
--- head/x11-toolkits/gtkmm24/Makefile	Sun Apr  2 16:21:07 2017	(r437568)
+++ head/x11-toolkits/gtkmm24/Makefile	Sun Apr  2 16:37:07 2017	(r437569)
@@ -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

Added: head/x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc	Sun Apr  2 16:37:07 2017	(r437569)
@@ -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;

Modified: head/x11-toolkits/gtkmm30/Makefile
==============================================================================
--- head/x11-toolkits/gtkmm30/Makefile	Sun Apr  2 16:21:07 2017	(r437568)
+++ head/x11-toolkits/gtkmm30/Makefile	Sun Apr  2 16:37:07 2017	(r437569)
@@ -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

Modified: head/x11-toolkits/pangomm/Makefile
==============================================================================
--- head/x11-toolkits/pangomm/Makefile	Sun Apr  2 16:21:07 2017	(r437568)
+++ head/x11-toolkits/pangomm/Makefile	Sun Apr  2 16:37:07 2017	(r437569)
@@ -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


More information about the svn-ports-all mailing list