Date: Mon, 17 Dec 2012 00:55:34 GMT From: Pawel Pekala <pawel@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/174491: textproc/xerces-c2-devel fix build with clang compiler Message-ID: <201212170055.qBH0tYh8061380@red.freebsd.org> Resent-Message-ID: <201212170100.qBH1003H084955@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212170055.qBH0tYh8061380>