Bug 200037

Summary: databases/pgrouting: fix build with clang < 3.6
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Many People CC: lbartoletti
Priority: --- Flags: lbartoletti: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch none

Description Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-08 00:04:34 UTC
Created attachment 156481 [details]
Patch

pgrouting fails to build on e.g. FreeBSD 10.1 with

    c++: error: unknown argument: '-fno-delete-null-pointer-checks'

clang 3.6 knows this flag though, so force use of clang 3.6 if clang < 3.6 is used.
Comment 1 Loïc Bartoletti freebsd_committer freebsd_triage 2015-05-08 18:50:56 UTC
It's ok with this patch.
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-05-09 02:07:20 UTC
A commit references this bug:

Author: amdmi3
Date: Sat May  9 02:06:44 UTC 2015
New revision: 385854
URL: https://svnweb.freebsd.org/changeset/ports/385854

Log:
  - Fix build on 10.x by using newer clang

  PR:		200037
  Submitted by:	amdmi3
  Approved by:	coder@tuxfamily.org (maintainer)

Changes:
  head/databases/pgrouting/Makefile