Bug 182939 - [maintainer-update] clang fix for devel/psptoolchain-gdb
Summary: [maintainer-update] clang fix for devel/psptoolchain-gdb
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: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-13 00:40 UTC by Tassilo Philipp
Modified: 2013-10-19 21:20 UTC (History)
0 users

See Also:


Attachments
file.diff (287 bytes, patch)
2013-10-13 00:40 UTC, Tassilo Philipp
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tassilo Philipp 2013-10-13 00:40:00 UTC
Linker flag for clang build - seems like INLINE doesn't work, ignoring multiple defs should be safe, here

Fix: Apply following patch to devel/psptoolchain-gdb/Makefile:

How-To-Repeat: Build port with following in /etc/make.conf:

CC=clang
CXX=clang++
CPP=clang-cpp
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-13 00:40:09 UTC
Class Changed
From-To: change-request->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-10-19 21:14:21 UTC
Author: tijl
Date: Sat Oct 19 20:14:14 2013
New Revision: 330932
URL: http://svnweb.freebsd.org/changeset/ports/330932

Log:
  Fix build with clang (USE_CSTD=gnu89).
  
  PR:		ports/182939

Modified:
  head/devel/psptoolchain-gdb/Makefile   (contents, props changed)

Modified: head/devel/psptoolchain-gdb/Makefile
==============================================================================
--- head/devel/psptoolchain-gdb/Makefile	Sat Oct 19 20:03:52 2013	(r330931)
+++ head/devel/psptoolchain-gdb/Makefile	Sat Oct 19 20:14:14 2013	(r330932)
@@ -13,8 +13,9 @@ COMMENT=		PlayStation Portable developme
 
 BUILD_DEPENDS=		${LOCALBASE}/psp/sdk/lib/libpspsdk.a:${PORTSDIR}/devel/psptoolchain-pspsdk-stage2
 
+USES=			gmake
 USE_BZIP2=		yes
-USE_GMAKE=		yes
+USE_CSTD=		gnu89
 
 HAS_CONFIGURE=		yes
 CONFIGURE_ARGS=		--prefix=${PREFIX} \
_______________________________________________
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 Tijl Coosemans freebsd_committer freebsd_triage 2013-10-19 21:14:43 UTC
State Changed
From-To: open->closed

Fixed in r330932 by adding USE_CSTD=gnu89. 


Comment 4 Tijl Coosemans freebsd_committer freebsd_triage 2013-10-19 21:14:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tijl

Fixed in r330932 by adding USE_CSTD=gnu89.