pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/gtk3 gtk3: now assumes compiler defaults to c99
details: https://anonhg.NetBSD.org/pkgsrc/rev/ed7a76b7c17c
branches: trunk
changeset: 450041:ed7a76b7c17c
user: nia <nia%pkgsrc.org@localhost>
date: Fri Apr 09 21:22:29 2021 +0000
description:
gtk3: now assumes compiler defaults to c99
diffstat:
x11/gtk3/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r f0b59755e4d8 -r ed7a76b7c17c x11/gtk3/Makefile
--- a/x11/gtk3/Makefile Fri Apr 09 21:19:50 2021 +0000
+++ b/x11/gtk3/Makefile Fri Apr 09 21:22:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.160 2021/04/01 07:02:23 adam Exp $
+# $NetBSD: Makefile,v 1.161 2021/04/09 21:22:29 nia Exp $
DISTNAME= gtk+-3.24.28
PKGNAME= ${DISTNAME:S/gtk/gtk3/}
@@ -11,6 +11,7 @@
COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces
LICENSE= gnu-lgpl-v2.1
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
@@ -52,7 +53,8 @@
CONFIGURE_ENV.DragonFly+= ac_cv_func_isinf=yes
CONFIGURE_ENV.DragonFly+= ac_cv_func_isnan=yes
-CFLAGS.SunOS+= -std=gnu99
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+CFLAGS+= -std=gnu99
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
Home |
Main Index |
Thread Index |
Old Index