Bug 174491

Summary: textproc/xerces-c2-devel fix build with clang compiler
Product: Ports & Packages Reporter: Pawel Pekala <pawel>
Component: Individual Port(s)Assignee: Pawel Pekala <pawel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Pawel Pekala freebsd_committer freebsd_triage 2012-12-17 01:00:00 UTC
This is small fix that allows this port to build with clang compiler.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-17 01:00:07 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-17 01:00:07 UTC
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
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2012-12-17 09:39:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

Mine
Comment 4 Pawel Pekala freebsd_committer freebsd_triage 2013-01-04 20:02:01 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-01-04 20:02:59 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"