Bug 184854 - devel/codeworker: Fix build with clang
Summary: devel/codeworker: Fix build with clang
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-16 18:10 UTC by tkato432
Modified: 2013-12-20 14:50 UTC (History)
0 users

See Also:


Attachments
file.diff (533 bytes, patch)
2013-12-16 18:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-12-16 18:10:14 UTC
- Fix build with clang
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2013-12-20 12:20:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-20 12:26:30 UTC
Author: pawel
Date: Fri Dec 20 12:26:23 2013
New Revision: 337003
URL: http://svnweb.freebsd.org/changeset/ports/337003

Log:
  Fix build with clang
  
  PR:		ports/184854
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/devel/codeworker/Makefile

Modified: head/devel/codeworker/Makefile
==============================================================================
--- head/devel/codeworker/Makefile	Fri Dec 20 12:15:04 2013	(r337002)
+++ head/devel/codeworker/Makefile	Fri Dec 20 12:26:23 2013	(r337003)
@@ -27,7 +27,7 @@ post-patch:
 	@${FIND} ${WRKSRC} -name "*.cpp" -or -name "*.h" | ${XARGS} \
 		${REINPLACE_CMD} -e \
 		's|<features.h>|<cstdio>| ; \
-		 s|__GNUC_PREREQ |__GNUC_PREREQ__|'
+		 s|(__cplusplus) \&\&|(__cplusplus) // \&\&|'
 
 do-install:
 	(cd ${WRKSRC} && ${INSTALL_PROGRAM} codeworker ${STAGEDIR}${PREFIX}/bin)
_______________________________________________
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"
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2013-12-20 12:26:32 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-12-20 14:45:11 UTC
Author: mat
Date: Fri Dec 20 14:45:03 2013
New Revision: 337016
URL: http://svnweb.freebsd.org/changeset/ports/337016

Log:
  MFH: r337003
  
  Fix build with clang
  
  PR:		ports/184854
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Approved by:	portmgr (implicit)

Modified:
  branches/2014Q1/devel/codeworker/Makefile
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/devel/codeworker/Makefile
==============================================================================
--- branches/2014Q1/devel/codeworker/Makefile	Fri Dec 20 14:43:12 2013	(r337015)
+++ branches/2014Q1/devel/codeworker/Makefile	Fri Dec 20 14:45:03 2013	(r337016)
@@ -27,7 +27,7 @@ post-patch:
 	@${FIND} ${WRKSRC} -name "*.cpp" -or -name "*.h" | ${XARGS} \
 		${REINPLACE_CMD} -e \
 		's|<features.h>|<cstdio>| ; \
-		 s|__GNUC_PREREQ |__GNUC_PREREQ__|'
+		 s|(__cplusplus) \&\&|(__cplusplus) // \&\&|'
 
 do-install:
 	(cd ${WRKSRC} && ${INSTALL_PROGRAM} codeworker ${STAGEDIR}${PREFIX}/bin)
_______________________________________________
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"