Fix build with newer sigc++20
This commit is contained in:
parent
6d25505558
commit
b7e0113c70
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437569
@ -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
|
||||
|
@ -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
|
||||
|
11
x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc
Normal file
11
x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc
Normal file
@ -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;
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user