Summary: | www/kiwix-tools: fix build with GCC-based architectures | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | Mark Linimon <linimon> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | linimon | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Maintainer informed via mail A commit references this bug: Author: linimon Date: Fri Mar 29 15:35:42 UTC 2019 New revision: 497153 URL: https://svnweb.freebsd.org/changeset/ports/497153 Log: Fix build on GCC-based architectures: ERROR: C++ Compiler does not support -std=c++11 and adjust CFLAGS. PR: 236752 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/www/kiwix-tools/Makefile |
Created attachment 203097 [details] patch Add USES=compiler:c++11-lang. Add -Wno-error=maybe-uninitialized to CXXFLAGS when using gcc. gcc apparently thinks latitude and distance may be uninitialised, but this shouldn't happen anyway. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.