pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gcc5 On CentOS 7 with the system gcc 4.8.5, we ge...
details: https://anonhg.NetBSD.org/pkgsrc/rev/757182ba261a
branches: trunk
changeset: 440154:757182ba261a
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sat Oct 03 14:04:18 2020 +0000
description:
On CentOS 7 with the system gcc 4.8.5, we get a bunch of these:
error: 'for' loop initial declarations are only allowed in C99 mode
Bump USE_LANGUAGES c to c99.
diffstat:
lang/gcc5/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7443e367b5a8 -r 757182ba261a lang/gcc5/Makefile
--- a/lang/gcc5/Makefile Sat Oct 03 13:59:26 2020 +0000
+++ b/lang/gcc5/Makefile Sat Oct 03 14:04:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2020/08/31 18:09:48 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2020/10/03 14:04:18 schmonz Exp $
GCC_PKGNAME= gcc5
PKGREVISION= 6
@@ -23,7 +23,7 @@
NOT_FOR_PLATFORM= Interix-*-*
-USE_LANGUAGES= c c++03
+USE_LANGUAGES= c99 c++03
USE_TOOLS+= gmake makeinfo sed:run tar:build
USE_TOOLS.NetBSD+= gsed
Home |
Main Index |
Thread Index |
Old Index