Bug 235519 - biology/dsr-pdb: fix build with GCC-based architectures
Summary: biology/dsr-pdb: 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: 2019-02-05 10:16 UTC by Piotr Kubaj
Modified: 2019-02-05 19:00 UTC (History)
2 users (show)

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


Attachments
patch (1.17 KB, patch)
2019-02-05 10:16 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 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