diff options
author | pkubaj <pkubaj@FreeBSD.org> | 2019-09-22 00:36:21 +0800 |
---|---|---|
committer | pkubaj <pkubaj@FreeBSD.org> | 2019-09-22 00:36:21 +0800 |
commit | e6835e827265e5efeba6fdc915437f9160d92de4 (patch) | |
tree | 0fe93b9a66b0f4c6da49e1433a7f581242b06149 | |
parent | 75c9120f93dfae9cd7b71edbd72f693564e5632d (diff) | |
download | freebsd-ports-gnome-e6835e827265e5efeba6fdc915437f9160d92de4.tar.gz freebsd-ports-gnome-e6835e827265e5efeba6fdc915437f9160d92de4.tar.zst freebsd-ports-gnome-e6835e827265e5efeba6fdc915437f9160d92de4.zip |
audio/protracker: fix build on GCC architectures
Add USE_CSTD=c99 to fix build:
/wrkdirs/usr/ports/audio/protracker/work/protracker-2.3d.r191/src/pt_visuals.c:1272: error: 'for' loop initial declaration used outside C99 mode
PR: 240703
Approved by: portmgr (blanket: build fix), linimon (mentor)
-rw-r--r-- | audio/protracker/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/protracker/Makefile b/audio/protracker/Makefile index 3edf406ffb94..625510d11b31 100644 --- a/audio/protracker/Makefile +++ b/audio/protracker/Makefile @@ -14,6 +14,7 @@ LICENSE= WTFPL LICENSE_FILE= ${WRKSRC}/src/COPYING.txt USES= localbase:ldflags sdl +USE_CSTD= c99 USE_SDL= sdl2 SVN_URL= https://svn.code.sf.net/p/protracker/code/trunk |