pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/jam
Module Name: pkgsrc
Committed By: rillig
Date: Thu Mar 26 21:19:59 UTC 2020
Modified Files:
pkgsrc/devel/jam: distinfo
Added Files:
pkgsrc/devel/jam/patches: patch-rules.h
Log Message:
devel/jam: fix -Wchar-subscripts
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/jam/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/jam/patches/patch-rules.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/jam/distinfo
diff -u pkgsrc/devel/jam/distinfo:1.11 pkgsrc/devel/jam/distinfo:1.12
--- pkgsrc/devel/jam/distinfo:1.11 Thu Jul 27 08:48:34 2017
+++ pkgsrc/devel/jam/distinfo Thu Mar 26 21:19:58 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2017/07/27 08:48:34 wiz Exp $
+$NetBSD: distinfo,v 1.12 2020/03/26 21:19:58 rillig Exp $
SHA1 (ftjam-2.5.2.tar.bz2) = 08bad35e74ec85c4592d378014586174d22297b5
RMD160 (ftjam-2.5.2.tar.bz2) = fd1d1161963ba85be09aecffe832cf1db8a7b70f
@@ -7,3 +7,4 @@ Size (ftjam-2.5.2.tar.bz2) = 196631 byte
SHA1 (patch-aa) = 64a149995f63cd3d3648f4597769e2ec57b0b0ba
SHA1 (patch-ab) = 6f6fce24c46d799d7ef9885271960c3d2038f93d
SHA1 (patch-jambase.c) = 906d3589718e4bf87a0f1740d876c2ddc7a7f90d
+SHA1 (patch-rules.h) = aca330528c722cce5fbf0587fd8c34c457dd8c62
Added files:
Index: pkgsrc/devel/jam/patches/patch-rules.h
diff -u /dev/null pkgsrc/devel/jam/patches/patch-rules.h:1.1
--- /dev/null Thu Mar 26 21:19:59 2020
+++ pkgsrc/devel/jam/patches/patch-rules.h Thu Mar 26 21:19:58 2020
@@ -0,0 +1,33 @@
+$NetBSD: patch-rules.h,v 1.1 2020/03/26 21:19:58 rillig Exp $
+
+make.c: In function 'make0':
+make.c:249:41: error: array subscript has type 'char' [-Werror=char-subscripts]
+ spaces( depth ), t->name, target_bind[ t->binding ] );^M
+ ^
+make.c:484:20: error: array subscript has type 'char' [-Werror=char-subscripts]
+ flag, target_fate[ t->fate ],^M
+ ^
+make.c:490:33: error: array subscript has type 'char' [-Werror=char-subscripts]
+ printf( "%s %s\n", target_fate[ t->fate ], t->name );^M
+ ^
+
+--- rules.h.orig 2006-06-05 10:52:11.000000000 +0000
++++ rules.h
+@@ -115,7 +115,7 @@ struct _target {
+ # define T_FLAG_NOUPDATE 0x20 /* NOUPDATE applied */
+ # define T_FLAG_INTERNAL 0x40 /* internal INCLUDES node */
+
+- char binding; /* how target relates to real file */
++ unsigned char binding; /* how target relates to real file */
+
+ # define T_BIND_UNBOUND 0 /* a disembodied name */
+ # define T_BIND_MISSING 1 /* couldn't find real file */
+@@ -127,7 +127,7 @@ struct _target {
+
+ time_t time; /* update time */
+ time_t leaf; /* update time of leaf sources */
+- char fate; /* make0()'s diagnosis */
++ unsigned char fate; /* make0()'s diagnosis */
+
+ # define T_FATE_INIT 0 /* nothing done to target */
+ # define T_FATE_MAKING 1 /* make0(target) on stack */
Home |
Main Index |
Thread Index |
Old Index