aboutsummaryrefslogtreecommitdiffstats
path: root/math/ggobi
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2011-08-05 14:37:21 +0800
committerrene <rene@FreeBSD.org>2011-08-05 14:37:21 +0800
commitbaa925087b579ebb4ee3712e2f9124e3dbe0fdf9 (patch)
tree23746ae50448d97a7f4f9426bc2e0b0fc32a5f87 /math/ggobi
parent3d092b8a6658b37b06fc233d819353a40e008765 (diff)
downloadfreebsd-ports-gnome-baa925087b579ebb4ee3712e2f9124e3dbe0fdf9.tar.gz
freebsd-ports-gnome-baa925087b579ebb4ee3712e2f9124e3dbe0fdf9.tar.zst
freebsd-ports-gnome-baa925087b579ebb4ee3712e2f9124e3dbe0fdf9.zip
Fix build with clang
PR: ports/159328 Submitted by: maintainer
Diffstat (limited to 'math/ggobi')
-rw-r--r--math/ggobi/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/math/ggobi/Makefile b/math/ggobi/Makefile
index 9335c5546d1e..c771cf1b0c96 100644
--- a/math/ggobi/Makefile
+++ b/math/ggobi/Makefile
@@ -26,6 +26,11 @@ ALL_TARGET= all ggobirc
post-patch:
@${REINPLACE_CMD} -e 's|ND_coord_i|ND_coord|' \
${WRKSRC}/plugins/GraphLayout/graphviz.c
+ @${REINPLACE_CMD} -e 's|#line 0|#line 1|' \
+ ${WRKSRC}/src/ggobi-data.c \
+ ${WRKSRC}/src/ggobi-renderer-cairo.c \
+ ${WRKSRC}/src/ggobi-renderer-factory.c \
+ ${WRKSRC}/src/ggobi-renderer.c
post-install:
${MKDIR} ${PREFIX}/etc/xdg/ggobi