svn commit: r309938 - head/textproc/xerces-c2-devel

Pawel Pekala pawel at FreeBSD.org
Fri Jan 4 20:01:45 UTC 2013


Author: pawel
Date: Fri Jan  4 20:01:44 2013
New Revision: 309938
URL: http://svnweb.freebsd.org/changeset/ports/309938

Log:
  Fix build with clang
  
  PR:		ports/174491
  Submitted by:	myself
  Approved by:	maintainer timeout (2 weeks)

Modified:
  head/textproc/xerces-c2-devel/Makefile

Modified: head/textproc/xerces-c2-devel/Makefile
==============================================================================
--- head/textproc/xerces-c2-devel/Makefile	Fri Jan  4 19:56:03 2013	(r309937)
+++ head/textproc/xerces-c2-devel/Makefile	Fri Jan  4 20:01:44 2013	(r309938)
@@ -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


More information about the svn-ports-head mailing list