Bug 235519

Summary: biology/dsr-pdb: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-02-05 10:16:53 UTC
Created attachment 201749 [details]
patch

This port requires USES=compiler:c11 to build on GCC architectures.

Additionally, it needs including cassert and cstring in Point.h.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-02-05 19:00:38 UTC
Committed with changes, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-02-05 19:00:45 UTC
A commit references this bug:

Author: yuri
Date: Tue Feb  5 19:00:37 UTC 2019
New revision: 492269
URL: https://svnweb.freebsd.org/changeset/ports/492269

Log:
  biology/dsr-pdb: Add c++11 flags because boost isn't found without it

  Also add patches for missing includes that only gcc complains about.

  PR:		235519
  Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/biology/dsr-pdb/Makefile
  head/biology/dsr-pdb/files/patch-include_dsrpdb_Point.h
  head/biology/dsr-pdb/files/patch-lib_Protein__pdb.cc