aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-10-26 00:46:53 +0800
committermezz <mezz@FreeBSD.org>2007-10-26 00:46:53 +0800
commit216c346a9c1c983b38f9f980184064c036246bb5 (patch)
treebee5661fc4d9b075484f26862129479131ae1273
parent49c43ddb7ae8973f2614528e6036de1bae32ba2d (diff)
downloadfreebsd-ports-gnome-216c346a9c1c983b38f9f980184064c036246bb5.tar.gz
freebsd-ports-gnome-216c346a9c1c983b38f9f980184064c036246bb5.tar.zst
freebsd-ports-gnome-216c346a9c1c983b38f9f980184064c036246bb5.zip
Fix the build with new gtk20.
Reported by: pointyhat-exp Approved by: Related with our (FreeBSD GNOME Team) big change
-rw-r--r--emulators/tiemu3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/tiemu3/Makefile b/emulators/tiemu3/Makefile
index 3eb173d68166..1e2a2f9b151f 100644
--- a/emulators/tiemu3/Makefile
+++ b/emulators/tiemu3/Makefile
@@ -51,6 +51,10 @@ post-patch: .SILENT
${REINPLACE_CMD} -E 's,(install-data-am:).*$$,\1,' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's,defined(__LINUX__),& || defined(__BSD__),' \
${WRKSRC}/src/gui/calc/pckeys.h ${WRKSRC}/src/misc/paths.h
+ ${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/src/gui/device.c
pre-install:
${CHMOD} +x ${WRKSRC}/install-sh