Bug 231528 - devel/llvm40: fix build with GCC 7
Summary: devel/llvm40: fix build with GCC 7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-20 21:34 UTC by Piotr Kubaj
Modified: 2018-10-02 20:13 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments
patch (1003 bytes, patch)
2018-09-20 21:34 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2018-09-20 21:34:18 UTC
Created attachment 197288 [details]
patch

On architectures that use GCC in base, GCC 7 is used to compile this port. To build it, the attached patch is necessary.

Tested on amd64 with Clang and on powerpc64.
Comment 1 commit-hook freebsd_committer 2018-10-02 20:12:47 UTC
A commit references this bug:

Author: brooks
Date: Tue Oct  2 20:12:27 UTC 2018
New revision: 481132
URL: https://svnweb.freebsd.org/changeset/ports/481132

Log:
  Fix build on non-clang systems.[0]

  Switch to shared LICENSE defintions.

  Chase USE_GNOME changes.

  PR:		231528 [0]
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> [0]
  Sponsored by:	DARPA, AFRL

Changes:
  head/devel/llvm40/Makefile
  head/devel/llvm40/files/lldb-patch-tools_lldb_include_lldb_Utility_TaskPool.h
Comment 2 Brooks Davis freebsd_committer 2018-10-02 20:13:46 UTC
Thanks!