summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-01-14 22:01:24 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-01-14 22:01:24 +0000
commita4ee26c6409827b8aaa71b06c693e905728c9e02 (patch)
tree6845b956070f2c4ea1abf8f4fd5cbdd727127ade /sys-devel/distcc/files
parentnew version (diff)
downloadgentoo-2-a4ee26c6409827b8aaa71b06c693e905728c9e02.tar.gz
gentoo-2-a4ee26c6409827b8aaa71b06c693e905728c9e02.tar.bz2
gentoo-2-a4ee26c6409827b8aaa71b06c693e905728c9e02.zip
Updating patch to properly initialze newflagsCount. Thanks to Sven Wegener <swegener@gentoo.org>.
(Portage version: 2.0.51-r12)
Diffstat (limited to 'sys-devel/distcc/files')
-rw-r--r--sys-devel/distcc/files/distcc-gentoo-multilib.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/distcc/files/distcc-gentoo-multilib.patch b/sys-devel/distcc/files/distcc-gentoo-multilib.patch
index af4abf2b06f1..02e0486c2a8b 100644
--- a/sys-devel/distcc/files/distcc-gentoo-multilib.patch
+++ b/sys-devel/distcc/files/distcc-gentoo-multilib.patch
@@ -11,7 +11,7 @@ diff -Naur distcc-2.18.3-vanilla/src/distcc.c distcc-2.18.3/src/distcc.c
+static char **getNewArgv(char **argv) {
+ char **newargv;
+ char newflags[MAXNEWFLAGS][MAXFLAGLEN + 1];
-+ unsigned newflagsCount;
++ unsigned newflagsCount = 0;
+ unsigned argc;
+ unsigned i;
+ char **p;