aboutsummaryrefslogtreecommitdiff
path: root/math/ggobi
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-08-05 06:37:21 +0000
committerRene Ladan <rene@FreeBSD.org>2011-08-05 06:37:21 +0000
commit7327a147350dfbbbbbad535c23ed892f42ec238c (patch)
treef0668609929cd3547a88c14fe282c8888880e0c1 /math/ggobi
parenta47571b77df6593ff9994f8852ff1bc2bfe9ca5c (diff)
downloadports-7327a147350dfbbbbbad535c23ed892f42ec238c.tar.gz
ports-7327a147350dfbbbbbad535c23ed892f42ec238c.zip
Fix build with clang
PR: ports/159328 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=278940
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