pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/gtk3



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Apr  9 21:22:29 UTC 2021

Modified Files:
        pkgsrc/x11/gtk3: Makefile

Log Message:
gtk3: now assumes compiler defaults to c99


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 pkgsrc/x11/gtk3/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/gtk3/Makefile
diff -u pkgsrc/x11/gtk3/Makefile:1.160 pkgsrc/x11/gtk3/Makefile:1.161
--- pkgsrc/x11/gtk3/Makefile:1.160      Thu Apr  1 07:02:23 2021
+++ pkgsrc/x11/gtk3/Makefile    Fri Apr  9 21:22:29 2021
@@ -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 @@ HOMEPAGE=     https://www.gtk.org/
 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 @@ BUILD_DIRS=           . demos/gtk-demo
 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