diff options
author | mezz <mezz@FreeBSD.org> | 2008-03-28 09:50:20 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2008-03-28 09:50:20 +0800 |
commit | e0d22c473b9ab74f8ce18fa0d8a6df08b94d9057 (patch) | |
tree | 21cc745dff1460c8e5f4f15009065e1accbd7f41 /devel | |
parent | 4c09027fe62f992958ead2c844c97a0b3279b924 (diff) | |
download | freebsd-ports-gnome-e0d22c473b9ab74f8ce18fa0d8a6df08b94d9057.tar.gz freebsd-ports-gnome-e0d22c473b9ab74f8ce18fa0d8a6df08b94d9057.tar.zst freebsd-ports-gnome-e0d22c473b9ab74f8ce18fa0d8a6df08b94d9057.zip |
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
Diffstat (limited to 'devel')
-rw-r--r-- | devel/acovea-gtk/Makefile | 7 | ||||
-rw-r--r-- | devel/libYGP/Makefile | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/devel/acovea-gtk/Makefile b/devel/acovea-gtk/Makefile index 4b6cc814af3b..e291b754f79a 100644 --- a/devel/acovea-gtk/Makefile +++ b/devel/acovea-gtk/Makefile @@ -24,9 +24,12 @@ USE_GNOME= gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= CPPFLAGS=-I${PREFIX}/include/ LDFLAGS=-L${PREFIX}/lib/ -.include <bsd.port.pre.mk> +post-patch: + @${REINPLACE_CMD} -e 's|connect(SigC::slot|connect(sigc::mem_fun|g ; \ + s|#include <sigc++\/compatibility\.h>||g' \ + ${WRKSRC}/src/*.cc pre-install: ${CHMOD} 755 ${WRKSRC}/install-sh -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/libYGP/Makefile b/devel/libYGP/Makefile index 91ba3f015e07..3b299eb75189 100644 --- a/devel/libYGP/Makefile +++ b/devel/libYGP/Makefile @@ -43,6 +43,8 @@ post-patch: @${REINPLACE_CMD} -e '/^#include/s|malloc.h|stdlib.h|' ${WRKSRC}/XGP/GTKViewer.c @${REINPLACE_CMD} -e '/^typedef int socklen_t;/d' ${WRKSRC}/YGP/Socket.cpp @${REINPLACE_CMD} -e '/^#.*define sleep/d' ${WRKSRC}/YGP/Tests/Thread.cpp + @${REINPLACE_CMD} -e 's|SigC::Connection|sigc::connection|g' \ + ${WRKSRC}/XGP/MessageDlg.h .if ${PORTNAME:M*XGP} @${FIND} ${WRKSRC} -type f -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} -e 's/ygp-cfg/xgp-cfg/g' |