Bug 237599 - devel/global: fix build with GCC-based architectures
Summary: devel/global: 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: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-27 09:34 UTC by Piotr Kubaj
Modified: 2019-04-27 19:11 UTC (History)
1 user (show)

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


Attachments
patch (353 bytes, patch)
2019-04-27 09:34 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (sunpoet)
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 2019-04-27 09:34:04 UTC
Created attachment 204060 [details]
patch

Add USE_CSTD=c99 to fix build with base GCC.
find.c: In function 'findassign':
find.c:557: error: 'for' loop initial declaration used outside C99 mode
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-04-27 18:29:16 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Apr 27 18:28:23 UTC 2019
New revision: 500261
URL: https://svnweb.freebsd.org/changeset/ports/500261

Log:
  Fix build on powerpc

  PR:		237599
  Submitted by:	pkubaj

Changes:
  head/devel/global/Makefile
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-04-27 19:11:32 UTC
Committed. Thanks!