From nobody@FreeBSD.org  Mon Dec 17 00:55:35 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2ECDD93
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <pawel@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: textproc/xerces-c2-devel fix build with clang compiler
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: janos.mohacsi@bsd.hu

>Number:         174491
>Category:       ports
>Synopsis:       textproc/xerces-c2-devel fix build with clang compiler
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 17 01:00:00 UTC 2012
>Closed-Date:    Fri Jan 04 20:02:02 UTC 2013
>Last-Modified:  Fri Jan  4 20:10:00 UTC 2013
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Dec 17 01:00:07 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174491 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: janos.mohacsi@bsd.hu
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/174491: textproc/xerces-c2-devel fix build with clang compiler
Date: Mon, 17 Dec 2012 01:00:07 UT

 Maintainer of textproc/xerces-c2-devel,
 
 Please note that PR ports/174491 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174491
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: pawel 
Responsible-Changed-When: Mon Dec 17 09:39:09 UTC 2012 
Responsible-Changed-Why:  
Mine 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174491 
State-Changed-From-To: feedback->closed 
State-Changed-By: pawel 
State-Changed-When: Fri Jan 4 20:02:01 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174491 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/174491: commit references a PR
Date: Fri,  4 Jan 2013 20:02:59 +0000 (UTC)

 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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
