aboutsummaryrefslogtreecommitdiffstats
path: root/games/cheech
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2008-03-28 09:50:20 +0800
committermezz <mezz@FreeBSD.org>2008-03-28 09:50:20 +0800
commite0d22c473b9ab74f8ce18fa0d8a6df08b94d9057 (patch)
tree21cc745dff1460c8e5f4f15009065e1accbd7f41 /games/cheech
parent4c09027fe62f992958ead2c844c97a0b3279b924 (diff)
downloadfreebsd-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 'games/cheech')
-rw-r--r--games/cheech/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/cheech/Makefile b/games/cheech/Makefile
index fff537868800..5edae9aec7ab 100644
--- a/games/cheech/Makefile
+++ b/games/cheech/Makefile
@@ -36,6 +36,9 @@ post-patch:
@${REINPLACE_CMD} -e "s|doc/cheech|share/doc/cheech|g" \
-e "s|: install-cheechdocDATA|:|g" \
${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|connect(SigC::slot|connect(sigc::mem_fun|g ; \
+ s|#include <sigc++\/compatibility\.h>||g' \
+ ${WRKSRC}/src/*.cc
pre-configure:
@${LN} -sf ${AUTOMAKE_DIR}/install-sh ${WRKSRC}