Bug 231509 - devel/serd: define USE_CSTD
Summary: devel/serd: define USE_CSTD
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: Mark Linimon
Depends on:
Reported: 2018-09-20 11:58 UTC by Piotr Kubaj
Modified: 2018-09-23 05:12 UTC (History)
2 users (show)

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

patch (299 bytes, patch)
2018-09-20 11:58 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-09-20 11:58:00 UTC
Created attachment 197271 [details]

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 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

  Fix build on gcc-based archs.

  Also tested on amd64.

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