svn commit: r539377 - head/devel/stlink
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Jun 16 20:48:39 UTC 2020
Author: pkubaj
Date: Tue Jun 16 20:48:38 2020
New Revision: 539377
URL: https://svnweb.freebsd.org/changeset/ports/539377
Log:
devel/stlink: fix build on GCC architectures
Use C99 mode:
/wrkdirs/usr/ports/devel/stlink/work/stlink-1.6.1/src/usb.c:818: error: 'for' loop initial declaration used outside C99 mode
Modified:
head/devel/stlink/Makefile
Modified: head/devel/stlink/Makefile
==============================================================================
--- head/devel/stlink/Makefile Tue Jun 16 18:28:05 2020 (r539376)
+++ head/devel/stlink/Makefile Tue Jun 16 20:48:38 2020 (r539377)
@@ -21,6 +21,7 @@ USE_GITHUB= yes
GH_ACCOUNT= texane
USES= cmake pkgconfig
+USE_CSTD= c99
USE_LDCONFIG= yes
PORTDOCS= README.md ${ALLDOCS}
More information about the svn-ports-head
mailing list