ports/174491: textproc/xerces-c2-devel fix build with clang compiler

Pawel Pekala pawel at FreeBSD.org
Mon Dec 17 01:00:00 UTC 2012


>Number:         174491
>Category:       ports
>Synopsis:       textproc/xerces-c2-devel fix build with clang compiler
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 17 01:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Pekala
>Release:        10.0-CURRENT
>Organization:
>Environment:
FreeBSD blaviken.slowicza.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2: Fri Nov 30 20:03:01 CET 2012     corn at blaviken.slowicza.org:/usr/obj/amd64.amd64/usr/src/sys/BLAVIKEN64  amd64

>Description:
This is small fix that allows this port to build with clang compiler.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/textproc/xerces-c2-devel/Makefile textproc/xerces-c2-devel/Makefile
--- /usr/ports/textproc/xerces-c2-devel/Makefile	2012-11-17 07:02:24.000000000 +0100
+++ textproc/xerces-c2-devel/Makefile	2012-12-17 01:34:40.000000000 +0100
@@ -142,6 +142,8 @@
 	@${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


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list