aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkada
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-03-16 14:54:37 +0000
committerJohn Marino <marino@FreeBSD.org>2015-03-16 14:54:37 +0000
commitd2fd619340975e436f216d4c07194c3bef7ef55c (patch)
treed0ee98c46cc8376743d303e67c28026cbdea7f78 /x11-toolkits/gtkada
parent81ae3318a58cbe4ab6ba16f55b7c0edff3432605 (diff)
downloadports-d2fd619340975e436f216d4c07194c3bef7ef55c.tar.gz
ports-d2fd619340975e436f216d4c07194c3bef7ef55c.zip
x11-toolkits/gtkada: Fix build on gcc5-aux (from Fedora)
Notes
Notes: svn path=/head/; revision=381406
Diffstat (limited to 'x11-toolkits/gtkada')
-rw-r--r--x11-toolkits/gtkada/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-toolkits/gtkada/Makefile b/x11-toolkits/gtkada/Makefile
index 8beb016a13fb..6a6a20cd3c1e 100644
--- a/x11-toolkits/gtkada/Makefile
+++ b/x11-toolkits/gtkada/Makefile
@@ -52,6 +52,11 @@ ALL_TARGET+= docs
ALL_TARGET+= tests
.endif
+post-patch:
+ # fix for gcc-5
+ @${REINPLACE_CMD} -e 's|inline gint roundint|gint roundint|' \
+ ${WRKSRC}/src/gtkextra/gtkplot*
+
do-build:
# This target is recreated because -j cannot be set, but
# MAKE_JOBS_SAFE=yes is needed for PROCESSORS value