Bug 232517 - devel/py-pycapsicum: Fix build with mips, mips64, powerpc64
Summary: devel/py-pycapsicum: Fix build with mips, mips64, powerpc64
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
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2018-10-21 23:59 UTC by Piotr Kubaj
Modified: 2018-11-05 19:56 UTC (History)
2 users (show)

See Also:
koobs: merge-quarterly?


Attachments
patch (608 bytes, patch)
2018-10-21 23:59 UTC, Piotr Kubaj
koobs: maintainer-approval+
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 2018-10-21 23:59:49 UTC
Created attachment 198456 [details]
patch

Base GCC compiles by default in C89, while this port is written in C99, which breaks compilation on GCC architectures.

Set USE_CSTD=c99 to make this port build.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2018-10-21 23:59:49 UTC
Maintainer informed via mail
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2018-10-23 07:23:42 UTC
Comment on attachment 198456 [details]
patch

Approved by: portmgr (blanket: build/run/package fix)
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-11-05 19:56:14 UTC
A commit references this bug:

Author: linimon
Date: Mon Nov  5 19:55:42 UTC 2018
New revision: 484212
URL: https://svnweb.freebsd.org/changeset/ports/484212

Log:
  Base GCC compiles by default in C89, while this port is written in C99,
  which breaks compilation on GCC architectures.

  Set USE_CSTD=c99 to make this port build.

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

Changes:
  head/devel/py-pycapsicum/Makefile