aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-01-05 04:01:44 +0800
committerpawel <pawel@FreeBSD.org>2013-01-05 04:01:44 +0800
commitc31cd60a96709fc26e64cf37315fc2b60844a156 (patch)
tree9b2c9e5d1c2d28bb90eb31b581fd4063cb5a3e1e /textproc
parent8423ba67c0888676b7b5512d4329aff0d09a5f9b (diff)
downloadfreebsd-ports-gnome-c31cd60a96709fc26e64cf37315fc2b60844a156.tar.gz
freebsd-ports-gnome-c31cd60a96709fc26e64cf37315fc2b60844a156.tar.zst
freebsd-ports-gnome-c31cd60a96709fc26e64cf37315fc2b60844a156.zip
Fix build with clang
PR: ports/174491 Submitted by: myself Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xerces-c2-devel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/xerces-c2-devel/Makefile b/textproc/xerces-c2-devel/Makefile
index e5b7c257f8bd..01d9f028211d 100644
--- a/textproc/xerces-c2-devel/Makefile
+++ b/textproc/xerces-c2-devel/Makefile
@@ -142,6 +142,8 @@ post-patch:
@${REINPLACE_CMD} -e 's,-lgcc,-lgcc_pic,' \
${WRKSRC}/src/xercesc/Makefile.incl
.endif
+ @${SED} -i '' 's| /\* argV\[\] \*/|* argV|' \
+ ${WRKSRC}/samples/CreateDOMDocument/CreateDOMDocument.cpp
pre-configure:
@${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure