Bug 188332 - devel/libdispatch can be build with gcc in base
Summary: devel/libdispatch can be build with gcc in base
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: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-07 03:20 UTC by Pedro F. Giffuni
Modified: 2014-06-17 16:08 UTC (History)
0 users

See Also:


Attachments
file.diff (1.21 KB, patch)
2014-04-07 03:20 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 2014-06-17 16:08:22 UTC
Committed in r358140, thanks!