| Summary: | [maintainer-update] Patch to fix games/netrek-client-cow build using CLANG | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Kevin Zheng <kevinz5000> | ||||||
| Component: | Individual Port(s) | Assignee: | Alex Kozlov <ak> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | ||||||||
| Priority: | Normal | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Kevin Zheng
2012-06-17 17:30:13 UTC
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants his PRs (via the GNATS Auto Assign Tool) Responsible Changed From-To: miwi->freebsd-ports-bugs Over to maintainer. Responsible Changed From-To: freebsd-ports-bugs->ak I'll take it. Hi Unfortunately, your patch doesn't work with base gcc: http://redports.org/buildarchive/20120805195954-63377/ What do you think about attached patch? -- Alex Author: ak Date: Sun Aug 5 22:14:38 2012 New Revision: 302137 URL: http://svn.freebsd.org/changeset/ports/302137 Log: - Fix build with clang PR: ports/169179 Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer) Modified: head/games/netrek-client-cow/Makefile (contents, props changed) Modified: head/games/netrek-client-cow/Makefile ============================================================================== --- head/games/netrek-client-cow/Makefile Sun Aug 5 21:10:33 2012 (r302136) +++ head/games/netrek-client-cow/Makefile Sun Aug 5 22:14:38 2012 (r302137) @@ -25,6 +25,8 @@ CONFIGURE_ARGS+= NORSA='\#' post-patch: ${REINPLACE_CMD} -e 's|ushort damage|unsigned short damage|' \ ${WRKSRC}/short.c + ${REINPLACE_CMD} -e 's|inline void|void|' \ + ${WRKSRC}/local.[ch] ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \ ${WRKSRC}/x11sprite.c ${WRKSRC}/netrek-client-cow.desktop ${REINPLACE_CMD} -e 's|games|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" State Changed From-To: open->closed Committed, with minor changes. Thanks! |