pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gcc48



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun May 17 20:07:00 UTC 2020

Modified Files:
        pkgsrc/lang/gcc48: Makefile

Log Message:
lang/gcc48: build even with -Werror=char-subscripts


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/lang/gcc48/Makefile

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

Modified files:

Index: pkgsrc/lang/gcc48/Makefile
diff -u pkgsrc/lang/gcc48/Makefile:1.45 pkgsrc/lang/gcc48/Makefile:1.46
--- pkgsrc/lang/gcc48/Makefile:1.45     Sun May  3 17:37:47 2020
+++ pkgsrc/lang/gcc48/Makefile  Sun May 17 20:07:00 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2020/05/03 17:37:47 rillig Exp $
+# $NetBSD: Makefile,v 1.46 2020/05/17 20:07:00 rillig Exp $
 
 GCC_PKGNAME=   gcc48
 .include       "version.mk"
@@ -142,6 +142,12 @@ CONFIGURE_ARGS+=   --with-gnu-as --with-as
 .  endif
 .endif
 
+# libgfortran/runtime/environ.c:119:5: error: array subscript has type 'char'
+# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177
+# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95178
+# Not worth fixing though since nobody cared between 2014 and 2020.
+BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
+
 pre-configure:
 .if ${OPSYS} == "OpenBSD"
        cd ${WRKSRC}/gcc && \



Home | Main Index | Thread Index | Old Index