aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-16 22:54:37 +0800
committermarino <marino@FreeBSD.org>2015-03-16 22:54:37 +0800
commit819cdf4d23c2e2f18a203870167117a85395656d (patch)
treed0ee98c46cc8376743d303e67c28026cbdea7f78
parentb45e77d8ddd29e7e85e3d8a3b41e7db5d8ea6b14 (diff)
downloadfreebsd-ports-gnome-819cdf4d23c2e2f18a203870167117a85395656d.tar.gz
freebsd-ports-gnome-819cdf4d23c2e2f18a203870167117a85395656d.tar.zst
freebsd-ports-gnome-819cdf4d23c2e2f18a203870167117a85395656d.zip
x11-toolkits/gtkada: Fix build on gcc5-aux (from Fedora)
-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