pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/fs-uae



Module Name:    pkgsrc
Committed By:   rillig
Date:           Fri May 22 05:37:09 UTC 2020

Modified Files:
        pkgsrc/emulators/fs-uae: Makefile

Log Message:
emulators/fs-uae: document suspicious array[char]


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/emulators/fs-uae/Makefile

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

Modified files:

Index: pkgsrc/emulators/fs-uae/Makefile
diff -u pkgsrc/emulators/fs-uae/Makefile:1.12 pkgsrc/emulators/fs-uae/Makefile:1.13
--- pkgsrc/emulators/fs-uae/Makefile:1.12       Sun Mar  8 16:49:26 2020
+++ pkgsrc/emulators/fs-uae/Makefile    Fri May 22 05:37:08 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2020/03/08 16:49:26 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2020/05/22 05:37:08 rillig Exp $
 
 DISTNAME=      fs-uae-3.0.2
 PKGREVISION=   1
@@ -17,6 +17,14 @@ CONFIGURE_ARGS+=     --with-libmpeg2
 
 NOT_PAX_MPROTECT_SAFE+=        bin/fs-uae
 
+# src/debug.cpp: In function 'void debug()':
+# src/debug.cpp:5361:188: error: array subscript has type 'char' [-Werror=char-subscripts]
+# ... processname[command[0]] == 0 ...
+#
+# command[0] is the length of a pascal-style string.
+# This may produce unexpected results with long process names.
+BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
+
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "Darwin"
 #OPENAL_CFLAGS="-framework OpenAL"



Home | Main Index | Thread Index | Old Index