Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/fs-uae emulators/fs-uae: document suspicious...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76c972552913
branches:  trunk
changeset: 432439:76c972552913
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri May 22 05:37:08 2020 +0000

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

diffstat:

 emulators/fs-uae/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r ccb7551ada7c -r 76c972552913 emulators/fs-uae/Makefile
--- a/emulators/fs-uae/Makefile Fri May 22 05:29:26 2020 +0000
+++ b/emulators/fs-uae/Makefile Fri May 22 05:37:08 2020 +0000
@@ -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 @@
 
 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