Bug 241723 - lang/retro12: fix build on GCC architectures
Summary: lang/retro12: fix build on GCC 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: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-05 06:00 UTC by Piotr Kubaj
Modified: 2019-11-05 08:02 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (0mp)


Attachments
patch (291 bytes, patch)
2019-11-05 06:00 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (0mp)
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-11-05 06:00:30 UTC
Created attachment 208868 [details]
patch

Add USE_CSTD=c99 to fix build:
retro-unix.c: In function 'io_random':
retro-unix.c:1551: error: 'for' loop initial declaration used outside C99 mode
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2019-11-05 08:02:21 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-11-05 08:02:27 UTC
A commit references this bug:

Author: 0mp
Date: Tue Nov  5 08:01:44 UTC 2019
New revision: 516777
URL: https://svnweb.freebsd.org/changeset/ports/516777

Log:
  lang/retro12: fix build on GCC architectures

  PR:		241723
  Submitted by:	pkubaj@

Changes:
  head/lang/retro12/Makefile