diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2019-08-11 00:00:54 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2019-08-11 00:00:54 +0000 |
commit | f7e9420013c75c83e976737f5866cbbf388524f5 (patch) | |
tree | 09498d91db6fc7bbf06cf4deca8eca478e5d6501 /graphics/scrot | |
parent | b58be8f23f1c78cab3f122088c21b82abdc60e57 (diff) | |
download | ports-f7e9420013c75c83e976737f5866cbbf388524f5.tar.gz ports-f7e9420013c75c83e976737f5866cbbf388524f5.zip |
Add USE_CSTD=c99 to fix the following error on GCC-based architectures:
main.c:252: error: 'for' loop initial declaration used outside C99 mode
Approved by: portmgr (tier-2 blanket)
Notes
Notes:
svn path=/head/; revision=508570
Diffstat (limited to 'graphics/scrot')
-rw-r--r-- | graphics/scrot/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/scrot/Makefile b/graphics/scrot/Makefile index 3b9373f8f435..5ae8b2c3bd90 100644 --- a/graphics/scrot/Makefile +++ b/graphics/scrot/Makefile @@ -19,6 +19,7 @@ USE_GITHUB= yes GH_ACCOUNT= resurrecting-open-source-projects USES= autoreconf +USE_CSTD= c99 GNU_CONFIGURE= yes USE_XORG= x11 xfixes xcursor |