Bug 233979

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

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-12-13 12:12:07 UTC
Created attachment 200078 [details]
patch

After upgrade to GCC 8, there's a new error.

HDF_NO_UBSAN needs to be specified before function name.

Additionally, remove unnecessary USE_CSTD.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-23 16:55:16 UTC
A commit references this bug:

Author: linimon
Date: Sun Dec 23 16:54:24 UTC 2018
New revision: 488222
URL: https://svnweb.freebsd.org/changeset/ports/488222

Log:
  After the upgrade to GCC 8, there's a new error: HDF_NO_UBSAN needs
  to be specified before function name.

  Additionally, remove unnecessary USE_CSTD.

  PR:		233979
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/science/hdf5/Makefile
  head/science/hdf5/files/
  head/science/hdf5/files/patch-src_H5detect.c