Bug 233912 - science/openbabel: fix build with GCC-based architectures
Summary: science/openbabel: fix build with GCC-based architectures
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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-10 20:26 UTC by Piotr Kubaj
Modified: 2018-12-11 07:51 UTC (History)
2 users (show)

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


Attachments
patch (780 bytes, patch)
2018-12-10 20:26 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-12-10 20:26:07 UTC
Created attachment 200011 [details]
patch

This port build with GCC architectures when you specify USES=compiler:c++11-lang.

To solve incompatibilities with Wx headers, you need to compile with -std=c++11 on GCC architectures. CXXFLAGS+=-Wno-narrowing is also necessary.

While here, also add USES=gnome.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Yuri Victorovich freebsd_committer 2018-12-11 07:50:29 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2018-12-11 07:51:19 UTC
A commit references this bug:

Author: yuri
Date: Tue Dec 11 07:50:24 UTC 2018
New revision: 487224
URL: https://svnweb.freebsd.org/changeset/ports/487224

Log:
  science/openbabel: fix build with GCC-based architectures

  While here, also add USES=gnome.

  PR:		233912
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/science/openbabel/Makefile