aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-10-13 03:08:29 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-10-13 03:08:29 +0800
commit8585eb77b8b621c6762f45a5b60997fe1a8e1fbb (patch)
treeac5f6f5e66238813726fc33d1e91c8d506a66b27 /graphics
parenta0eb4251fc97db45b7570774bd27c434e9564b76 (diff)
downloadfreebsd-ports-gnome-8585eb77b8b621c6762f45a5b60997fe1a8e1fbb.tar.gz
freebsd-ports-gnome-8585eb77b8b621c6762f45a5b60997fe1a8e1fbb.tar.zst
freebsd-ports-gnome-8585eb77b8b621c6762f45a5b60997fe1a8e1fbb.zip
- Fix build on -head
Reported by: pkg-fallout
Diffstat (limited to 'graphics')
-rw-r--r--graphics/p5-Geo-GDAL/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/p5-Geo-GDAL/Makefile b/graphics/p5-Geo-GDAL/Makefile
index 4e34175ead85..b88c226a37ab 100644
--- a/graphics/p5-Geo-GDAL/Makefile
+++ b/graphics/p5-Geo-GDAL/Makefile
@@ -23,6 +23,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/swig/perl
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's| install| pure_install|' ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's|(const char \*)""|(char \*)""|' ${WRKSRC}/gdal_wrap.cpp ${WRKSRC}/ogr_wrap.cpp
regression-test test: build
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} test || ${TRUE}