svn commit: r437776 - in head: audio/pavumeter comms/gtkmmorse graphics/sharpconstruct irc/lostirc irc/lostirc/files sysutils/gsmartcontrol x11-toolkits/bakery x11-toolkits/libsexymm
Baptiste Daroussin
bapt at FreeBSD.org
Wed Apr 5 11:28:18 UTC 2017
Author: bapt
Date: Wed Apr 5 11:28:15 2017
New Revision: 437776
URL: https://svnweb.freebsd.org/changeset/ports/437776
Log:
Fix build with recent libsigc++20
Added:
head/irc/lostirc/files/patch-src_gtkmm_MainWindow.cpp (contents, props changed)
head/irc/lostirc/files/patch-src_gtkmm_TextWidget.cpp (contents, props changed)
head/irc/lostirc/files/patch-src_libirc_ServerConnection.cpp (contents, props changed)
Modified:
head/audio/pavumeter/Makefile
head/comms/gtkmmorse/Makefile
head/graphics/sharpconstruct/Makefile
head/irc/lostirc/Makefile
head/sysutils/gsmartcontrol/Makefile
head/x11-toolkits/bakery/Makefile
head/x11-toolkits/libsexymm/Makefile
Modified: head/audio/pavumeter/Makefile
==============================================================================
--- head/audio/pavumeter/Makefile Wed Apr 5 11:13:09 2017 (r437775)
+++ head/audio/pavumeter/Makefile Wed Apr 5 11:28:15 2017 (r437776)
@@ -16,7 +16,8 @@ LIB_DEPENDS= libglademm-2.4.so:devel/lib
libpulse.so:audio/pulseaudio
GNU_CONFIGURE= yes
-USES= gmake pkgconfig
+USES= compiler:c++11-lang gmake pkgconfig
+USE_CXXSTD= c++11
CONFIGURE_ARGS= --disable-lynx
Modified: head/comms/gtkmmorse/Makefile
==============================================================================
--- head/comms/gtkmmorse/Makefile Wed Apr 5 11:13:09 2017 (r437775)
+++ head/comms/gtkmmorse/Makefile Wed Apr 5 11:28:15 2017 (r437776)
@@ -15,7 +15,8 @@ LIB_DEPENDS= libao.so:audio/libao \
libgconfmm-2.6.so:devel/gconfmm26
GNU_CONFIGURE= yes
-USES= pkgconfig tar:bzip2
+USES= compiler:c++11-lang pkgconfig tar:bzip2
+USE_CXXSTD= c++11
PLIST_FILES= bin/gtkmmorse \
man/man1/gtkmmorse.1.gz
Modified: head/graphics/sharpconstruct/Makefile
==============================================================================
--- head/graphics/sharpconstruct/Makefile Wed Apr 5 11:13:09 2017 (r437775)
+++ head/graphics/sharpconstruct/Makefile Wed Apr 5 11:28:15 2017 (r437776)
@@ -19,7 +19,8 @@ LIB_DEPENDS= libgtkglextmm-x11-1.2.so:x1
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= uses SSE instructions
-USES= tar:bzip2 gmake pkgconfig
+USES= compiler:c++11-lang tar:bzip2 gmake pkgconfig
+USE_CXXSTD= c++11
GNU_CONFIGURE= yes
USE_GL= yes
Modified: head/irc/lostirc/Makefile
==============================================================================
--- head/irc/lostirc/Makefile Wed Apr 5 11:13:09 2017 (r437775)
+++ head/irc/lostirc/Makefile Wed Apr 5 11:28:15 2017 (r437776)
@@ -15,7 +15,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgtkmm-2.4.so:x11-toolkits/gtkmm24
-USES= pathfix pkgconfig gettext
+USES= compiler:c++11-lang pathfix pkgconfig gettext
+USE_CXXSTD= c++11
USE_GNOME= gnomeprefix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-kde
Added: head/irc/lostirc/files/patch-src_gtkmm_MainWindow.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/lostirc/files/patch-src_gtkmm_MainWindow.cpp Wed Apr 5 11:28:15 2017 (r437776)
@@ -0,0 +1,11 @@
+--- src/gtkmm/MainWindow.cpp.orig 2017-04-05 11:24:58 UTC
++++ src/gtkmm/MainWindow.cpp
+@@ -485,7 +485,7 @@ void MainWindow::openAboutWindow()
+ if (_aboutwin.get()) {
+ _aboutwin->present();
+ } else {
+- std::auto_ptr<Gtk::MessageDialog> dialog(new Gtk::MessageDialog(_("LostIRC "VERSION), false, Gtk::MESSAGE_INFO, Gtk::BUTTONS_OK, false));
++ std::auto_ptr<Gtk::MessageDialog> dialog(new Gtk::MessageDialog(_("LostIRC " VERSION), false, Gtk::MESSAGE_INFO, Gtk::BUTTONS_OK, false));
+
+ dialog->signal_response().connect(sigc::mem_fun(*this, &MainWindow::hideAboutWindow));
+ dialog->show();
Added: head/irc/lostirc/files/patch-src_gtkmm_TextWidget.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/lostirc/files/patch-src_gtkmm_TextWidget.cpp Wed Apr 5 11:28:15 2017 (r437776)
@@ -0,0 +1,16 @@
+--- src/gtkmm/TextWidget.cpp.orig 2017-04-05 11:26:59 UTC
++++ src/gtkmm/TextWidget.cpp
+@@ -210,11 +210,11 @@ void TextWidget::insertText(const TextProperties& tp,
+ std::vector< Glib::RefPtr<Gtk::TextTag> > tags;
+
+ Glib::RefPtr<Gtk::TextTag> fg = buffer->get_tag_table()->lookup(Glib::ustring("f")+crop(tp.fgnumber));
+- if (fg == 0)
++ if (!fg)
+ fg = buffer->get_tag_table()->lookup("f0");
+
+ Glib::RefPtr<Gtk::TextTag> bg = buffer->get_tag_table()->lookup(Glib::ustring("b")+crop(tp.bgnumber));
+- if (bg == 0)
++ if (!bg)
+ bg = buffer->get_tag_table()->lookup("b0");
+
+ tags.push_back(fg);
Added: head/irc/lostirc/files/patch-src_libirc_ServerConnection.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/lostirc/files/patch-src_libirc_ServerConnection.cpp Wed Apr 5 11:28:15 2017 (r437776)
@@ -0,0 +1,11 @@
+--- src/libirc/ServerConnection.cpp.orig 2017-04-05 11:23:15 UTC
++++ src/libirc/ServerConnection.cpp
+@@ -322,7 +322,7 @@ bool ServerConnection::sendVersion(const ustring& to)
+ ustring r("");
+ ustring m("");
+ #endif
+- ustring vstring("LostIRC "VERSION" on " + s + " " + r + " [" + m + "]");
++ ustring vstring("LostIRC " VERSION" on " + s + " " + r + " [" + m + "]");
+ ustring msg("NOTICE " + to + " :\001VERSION " + vstring + "\001\r\n");
+
+ return _socket.send(msg);
Modified: head/sysutils/gsmartcontrol/Makefile
==============================================================================
--- head/sysutils/gsmartcontrol/Makefile Wed Apr 5 11:13:09 2017 (r437775)
+++ head/sysutils/gsmartcontrol/Makefile Wed Apr 5 11:28:15 2017 (r437776)
@@ -14,7 +14,8 @@ LIB_DEPENDS= libgtkmm-2.4.so:x11-toolkit
RUN_DEPENDS= bash:shells/bash \
smartctl:sysutils/smartmontools
-USES= pkgconfig tar:bzip2 libtool
+USES= compiler:c++11-lang pkgconfig tar:bzip2 libtool
+USE_CXXSTD= c++11
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
Modified: head/x11-toolkits/bakery/Makefile
==============================================================================
--- head/x11-toolkits/bakery/Makefile Wed Apr 5 11:13:09 2017 (r437775)
+++ head/x11-toolkits/bakery/Makefile Wed Apr 5 11:28:15 2017 (r437776)
@@ -16,12 +16,12 @@ LIB_DEPENDS= libgconfmm-2.6.so:devel/gco
libgnomevfsmm-2.6.so:devel/gnome-vfsmm \
libxml++-2.6.so:textproc/libxml++26
-USES= gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
+USES= compiler:c++11-lang gettext gmake libtool localbase pathfix \
+ pkgconfig tar:bzip2
+USE_CXXSTD= c++11
USE_GNOME= gnomeprefix intlhack
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
PLIST_SUB= VERSION="2.6" API_VERSION="2.6"
Modified: head/x11-toolkits/libsexymm/Makefile
==============================================================================
--- head/x11-toolkits/libsexymm/Makefile Wed Apr 5 11:13:09 2017 (r437775)
+++ head/x11-toolkits/libsexymm/Makefile Wed Apr 5 11:28:15 2017 (r437776)
@@ -15,7 +15,8 @@ LICENSE= LGPL21
LIB_DEPENDS= libsexy.so:x11-toolkits/libsexy \
libgtkmm-2.4.so:x11-toolkits/gtkmm24
-USES= gmake pathfix pkgconfig libtool
+USES= compiler:c++11-lang gmake pathfix pkgconfig libtool
+USE_CXXSTD= c++11
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
More information about the svn-ports-head
mailing list