Bug 239764

Summary: graphics/scrot: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: amdmi3
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (amdmi3)

Description Piotr Kubaj freebsd_committer 2019-08-10 20:53:55 UTC
Created attachment 206425 [details]
patch

USE_CSTD=c99 is now necessary:
main.c:252: error: 'for' loop initial declaration used outside C99 mode
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-08-11 00:02:42 UTC
Independently tested and committed.