Bug 236009 - net-mgmt/chillispot: fix build with GCC-based architectures
Summary: net-mgmt/chillispot: 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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-24 20:11 UTC by Piotr Kubaj
Modified: 2019-03-06 03:54 UTC (History)
2 users (show)

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


Attachments
patch (1.19 KB, patch)
2019-02-24 20:11 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 2019-02-24 20:11:18 UTC
Created attachment 202338 [details]
patch

This port requires adding -fnested-functions to CFLAGS when building with base GCC.

Additionally, replace USE_GCC=any with USES=compiler:nestedfct.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer 2019-03-06 03:54:02 UTC
A commit references this bug:

Author: linimon
Date: Wed Mar  6 03:53:48 UTC 2019
New revision: 494770
URL: https://svnweb.freebsd.org/changeset/ports/494770

Log:
  This port requires adding -fnested-functions to CFLAGS when building
  with base GCC.

  Additionally, replace USE_GCC=any with USES=compiler:nestedfct.

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

Changes:
  head/net-mgmt/chillispot/Makefile