Bug 188332

Summary: devel/libdispatch can be build with gcc in base
Product: Ports & Packages Reporter: Pedro F. Giffuni <pfg>
Component: Individual Port(s)Assignee: Brooks Davis <brooks>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Pedro F. Giffuni freebsd_committer 2014-04-07 03:20:00 UTC
Apple's GCC block support was backported to FreeBSD's gcc-4.2.1 in base (r260311).

With a small revision (r264121) which was MFCd to 10.0-STABLE as r264214, our base GCC got the capacity to build more blocks application cleanly.

This support is important for platforms lack support for clang like ia64, powerpc and sparc64.

The attached patch:
- Overrides the clang port option in platforms that ship a valid block-enabled compiler in base.
- Let's platforms like powerpc and sparc use the base compiler.
- Adds license information for libdispatch (Apache License 2.0)

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2014-04-07 03:20:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->brooks

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 commit-hook freebsd_committer 2014-06-17 16:07:33 UTC
A commit references this bug:

Author: brooks
Date: Tue Jun 17 16:07:23 UTC 2014
New revision: 358140
URL: http://svnweb.freebsd.org/changeset/ports/358140

Log:
  Apple's GCC block support was backported to FreeBSD's gcc-4.2.1 in base
  (r260311).

  With a small revision (r264121) which was MFCd to 10.0-STABLE as
  r264214, our base GCC got the capacity to build more blocks application
  cleanly.

  This support is important for platforms lack support for clang like
  ia64, powerpc and sparc64.

  The attached patch:
  - Overrides the clang port option in platforms that ship a valid
    block-enabled compiler in base.
  - Let's platforms like powerpc and sparc use the base compiler.
  - Adds license information for libdispatch (Apache License 2.0)

  PR:		188332
  Submitted by:	Pedro F. Giffuni <pfg@FreeBSD.org>

Changes:
  head/devel/libdispatch/Makefile
Comment 3 Brooks Davis freebsd_committer 2014-06-17 16:08:22 UTC
Committed in r358140, thanks!