Bug 145379 - build sysutils/biosfont with llvm/clang
Summary: build sysutils/biosfont with llvm/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: Rene Ladan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-04 16:30 UTC by Rene Ladan
Modified: 2010-04-05 22:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan freebsd_committer freebsd_triage 2010-04-04 16:30:08 UTC
In an ongoing effort to compile the Ports Tree with LLVM/Clang, here is a patch to build sysutils/biosfont with it. No PORTREVISION bump since Clang is not imported into the main tree yet and the runtime behavior is unaffected.

Fix: 

http://rene-ladan.nl/clang/patches/biosfont-clang.diff
How-To-Repeat: Set up a 8-STABLE/i386 Tinderbox running Clang:
* normal Tinderbox setup
* extract tarball
* build and install LLVM/Clang into the $TARBALL/tmp/usr (see http://clang.llvm.org/get_started.html)
* remove gcc/g++ bits: $TARBALL/tmp/usr/bin/{cc,cpp,gcc,c89,c99,c++,c++filt,g++}, $TARBALL/tmp/usr/libexec/{cc1,cc1obj,cc1plus}
* repack the tarball
* shedule a build of sysutils/biosfont

Note that just building the port with modified CC/CXX in /etc/make.conf does not trigger the problem, because the -Werror flag is not used in that case.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-04-04 16:30:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rene

Submitter is maintainer and has GNATS access (via the GNATS Auto Assign 
Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-04-05 22:33:25 UTC
rene        2010-04-05 21:33:16 UTC

  FreeBSD ports repository (doc committer)

  Added files:
    sysutils/biosfont/files patch-biosfont.c 
  Log:
  Add a patch to make this port buildable with the Clang compiler.
  No functionality changes.
  
  PR:             ports/145379
  Submitted by:   rene (author/maintainer)
  Approved by:    tabthorpe
  
  Revision  Changes    Path
  1.1       +11 -0     ports/sysutils/biosfont/files/patch-biosfont.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2010-04-05 22:33:28 UTC
State Changed
From-To: open->closed

Committed