From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 17 01:00:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B20DE120 for ; Mon, 17 Dec 2012 01:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6BBA08FC1A for ; Mon, 17 Dec 2012 01:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBH100ch084956 for ; Mon, 17 Dec 2012 01:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBH1003H084955; Mon, 17 Dec 2012 01:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 17 Dec 2012 01:00:00 GMT Resent-Message-Id: <201212170100.qBH1003H084955@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pawel Pekala Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2ECDD93 for ; Mon, 17 Dec 2012 00:55:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 164C78FC14 for ; Mon, 17 Dec 2012 00:55:35 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBH0tYEM061381 for ; Mon, 17 Dec 2012 00:55:34 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qBH0tYh8061380; Mon, 17 Dec 2012 00:55:34 GMT (envelope-from nobody) Message-Id: <201212170055.qBH0tYh8061380@red.freebsd.org> Date: Mon, 17 Dec 2012 00:55:34 GMT From: Pawel Pekala To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/174491: textproc/xerces-c2-devel fix build with clang compiler X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 01:00:00 -0000 >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: