summaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-08-14 09:08:07 +0000
committerrillig <rillig@pkgsrc.org>2007-08-14 09:08:07 +0000
commit8a2abcff8973b7fc983563902cf09b7ee9f4e7c4 (patch)
tree3cfabeac025e7d89837ae987e735833bbb8ff4d6 /devel/binutils
parentd2a43c504666636c07e030e65f47095eba177d88 (diff)
downloadpkgsrc-8a2abcff8973b7fc983563902cf09b7ee9f4e7c4.tar.gz
Fixed a gcc warning reported in PR 36777:
read.c:1426: warning: 'stopc' may be used uninitialized in this function
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/distinfo3
-rw-r--r--devel/binutils/patches/patch-af13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo
index cc7218c7cbc..543e2b4fec1 100644
--- a/devel/binutils/distinfo
+++ b/devel/binutils/distinfo
@@ -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-ab) = 9d8a52de59f73cce90a1e8fff5d20849724ceb26
SHA1 (patch-ac) = 8165e2adb19eca4ec9b6e7fd3b52c6614910fa65
SHA1 (patch-ad) = 4aa005a473d1c4af052eaee84b98b1c0aff90bf1
SHA1 (patch-ae) = 8aa22782397a59c17801c791dddaefdf757d824e
+SHA1 (patch-af) = ca9171203123d2563e0c49bd8fed4d1366d35691
diff --git a/devel/binutils/patches/patch-af b/devel/binutils/patches/patch-af
new file mode 100644
index 00000000000..8d6d41c4414
--- /dev/null
+++ b/devel/binutils/patches/patch-af
@@ -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)