Bug 200037 - databases/pgrouting: fix build with clang < 3.6
Summary: databases/pgrouting: fix build with clang < 3.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-08 00:04 UTC by Dmitry Marakasov
Modified: 2015-05-09 02:07 UTC (History)
1 user (show)

See Also:
lbartoletti: maintainer-feedback+


Attachments
Patch (724 bytes, patch)
2015-05-08 00:04 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer 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 2015-05-08 18:50:56 UTC
It's ok with this patch.
Comment 2 commit-hook freebsd_committer 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