pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/binutils Fixed a gcc warning reported in PR 36777:
details: https://anonhg.NetBSD.org/pkgsrc/rev/be390429c30b
branches: trunk
changeset: 532222:be390429c30b
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Aug 14 09:08:07 2007 +0000
description:
Fixed a gcc warning reported in PR 36777:
read.c:1426: warning: 'stopc' may be used uninitialized in this function
diffstat:
devel/binutils/distinfo | 3 ++-
devel/binutils/patches/patch-af | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 7fe3fc51338d -r be390429c30b devel/binutils/distinfo
--- a/devel/binutils/distinfo Tue Aug 14 07:54:22 2007 +0000
+++ b/devel/binutils/distinfo Tue Aug 14 09:08:07 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2007/05/29 12:25:03 martti Exp $
+$NetBSD: distinfo,v 1.9 2007/08/14 09:08:07 rillig Exp $
SHA1 (binutils-2.17.tar.gz) = a9ac9ac4e918568b297033cdc44a38beef8f9f6a
RMD160 (binutils-2.17.tar.gz) = bc5e8b23457f0e2e91f70b93eff00134e2d50434
@@ -8,3 +8,4 @@
SHA1 (patch-ac) = 8165e2adb19eca4ec9b6e7fd3b52c6614910fa65
SHA1 (patch-ad) = 4aa005a473d1c4af052eaee84b98b1c0aff90bf1
SHA1 (patch-ae) = 8aa22782397a59c17801c791dddaefdf757d824e
+SHA1 (patch-af) = ca9171203123d2563e0c49bd8fed4d1366d35691
diff -r 7fe3fc51338d -r be390429c30b devel/binutils/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/binutils/patches/patch-af Tue Aug 14 09:08:07 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2007/08/14 09:08:07 rillig Exp $
+
+--- gas/read.c.orig 2005-11-17 08:29:28.000000000 +0100
++++ gas/read.c 2007-08-14 11:03:42.000000000 +0200
+@@ -1423,7 +1423,7 @@ s_comm_internal (int param,
+ offsetT temp, size;
+ symbolS *symbolP = NULL;
+ char *stop = NULL;
+- char stopc;
++ char stopc = '\0'; /* XXX: gcc -Wuninitialized */
+ expressionS exp;
+
+ if (flag_mri)
Home |
Main Index |
Thread Index |
Old Index