Bug 241723

Summary: lang/retro12: fix build on GCC architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Only Me CC: 0mp
Priority: --- Flags: bugzilla: maintainer-feedback? (0mp)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (0mp)

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