From 01aa5d3c3738157ac5f482617e3d1ef1ec50bfba Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Fri, 28 Mar 2008 01:50:20 +0000 Subject: Fix the build with new libsigc++20 2.2.2. I have tested these ports in runtime and these seem work fine in normal use. I don't test every functions, so let me know if you have any problem with it. Reported by: pointyhat via pav --- x11/workrave/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'x11/workrave') diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile index 205ecb72b172..de799d989870 100644 --- a/x11/workrave/Makefile +++ b/x11/workrave/Makefile @@ -50,4 +50,15 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif +post-patch: + @${REINPLACE_CMD} -e 's|#include ||g ; \ + s|SigC::Signal|sigc::signal|g ; \ + s|SigC::slot_class|sigc::mem_fun|g ; \ + s|SigC::Connection|sigc::connection|g ; \ + s|SigC::Slot|sigc::slot|g ; \ + s|SigC::Object|sigc::trackable|g ; \ + s|SigC::slot|sigc::mem_fun|g' \ + ${WRKSRC}/frontend/gtkmm/src/*.* \ + ${WRKSRC}/frontend/plugin/*/gtkmm/src/*.* + .include -- cgit v1.2.3