aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-12-17 08:41:06 +0800
committerpawel <pawel@FreeBSD.org>2012-12-17 08:41:06 +0800
commit22086ea775d423c41e775a5bf025a7d91de9f71d (patch)
tree1d471c4e8806fe568b773cc9e92b05327d0d6322 /textproc
parent86caa03d817a3b57a4ed3a8a4db3a794d47e41a1 (diff)
downloadfreebsd-ports-gnome-22086ea775d423c41e775a5bf025a7d91de9f71d.tar.gz
freebsd-ports-gnome-22086ea775d423c41e775a5bf025a7d91de9f71d.tar.zst
freebsd-ports-gnome-22086ea775d423c41e775a5bf025a7d91de9f71d.zip
Fix build with clang
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xerces-c2/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/xerces-c2/Makefile b/textproc/xerces-c2/Makefile
index c82bf6844868..d309d233b1b8 100644
--- a/textproc/xerces-c2/Makefile
+++ b/textproc/xerces-c2/Makefile
@@ -117,6 +117,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/src/xercesc/Makefile.incl \
${WRKSRC}/src/xercesc/runConfigure
+ @${SED} -i '' 's| /\* argV\[\] \*/|* argV|' \
+ ${WRKSRC}/samples/CreateDOMDocument/CreateDOMDocument.cpp
pre-configure:
@${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure