Bug 239764 - graphics/scrot: fix build with GCC-based architectures
Summary: graphics/scrot: 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-08-10 20:53 UTC by Piotr Kubaj
Modified: 2019-08-11 00:02 UTC (History)
1 user (show)

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


Attachments
patch (296 bytes, patch)
2019-08-10 20:53 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (amdmi3)
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-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.