From a4ee26c6409827b8aaa71b06c693e905728c9e02 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 14 Jan 2005 22:01:24 +0000 Subject: Updating patch to properly initialze newflagsCount. Thanks to Sven Wegener . (Portage version: 2.0.51-r12) --- sys-devel/distcc/ChangeLog | 7 ++++++- sys-devel/distcc/files/distcc-gentoo-multilib.patch | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sys-devel/distcc/ChangeLog b/sys-devel/distcc/ChangeLog index 05d678e6aa0d..a4c61c4034d3 100644 --- a/sys-devel/distcc/ChangeLog +++ b/sys-devel/distcc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/distcc # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/ChangeLog,v 1.132 2005/01/12 06:30:25 lisa Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/ChangeLog,v 1.133 2005/01/14 22:01:24 eradicator Exp $ + + 14 Jan 2005; Jeremy Huddleston + files/distcc-gentoo-multilib.patch: + Updating patch to properly initialze newflagsCount. Thanks to Sven Wegener + . 12 Jan 2005; Lisa Seelye -distcc-2.17-r1.ebuild, -distcc-2.18.3.ebuild: 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; -- cgit v1.2.3-65-gdbad