Bug 174491 - textproc/xerces-c2-devel fix build with clang compiler
Summary: textproc/xerces-c2-devel fix build with clang compiler
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
Depends on:
Reported: 2012-12-17 01:00 UTC by Pawel Pekala
Modified: 2013-01-04 20:10 UTC (History)
0 users

See Also:

file.diff (536 bytes, patch)
2012-12-17 01:00 UTC, Pawel Pekala
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pekala freebsd_committer 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 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 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:

Edwin Groothuis via the GNATS Auto Assign Tool
Comment 3 Pawel Pekala freebsd_committer 2012-12-17 09:39:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

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

Committed. Thanks!
Comment 5 dfilter service freebsd_committer 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

  Fix build with clang
  PR:		ports/174491
  Submitted by:	myself
  Approved by:	maintainer timeout (2 weeks)


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,' \
+	@${SED} -i '' 's| /\* argV\[\] \*/|* argV|' \
+		${WRKSRC}/samples/CreateDOMDocument/CreateDOMDocument.cpp
 	@${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure
svn-ports-all@freebsd.org mailing list
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"