Bug 231509

Summary: devel/serd: define USE_CSTD
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, meka
Priority: --- Flags: bugzilla: maintainer-feedback? (meka)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-09-20 11:58:00 UTC
Created attachment 197271 [details]
patch

Base GCC defaults to C89, while this port uses C99. That makes building with base GCC to fail.

Define USE_CSTD=c99 to fix this.

Tested on powerpc64 and amd64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-09-23 05:11:24 UTC
A commit references this bug:

Author: linimon
Date: Sun Sep 23 05:10:39 UTC 2018
New revision: 480454
URL: https://svnweb.freebsd.org/changeset/ports/480454

Log:
  Fix build on gcc-based archs.

  Also tested on amd64.

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

Changes:
  head/devel/serd/Makefile