From: | "Alex Alexander (wired)" <wired@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-devel/distcc/files: distcc-3.1-argc-fix.patch |
Date: | Mon, 09 Jan 2012 13:29:20 |
Message-Id: | 20120109132910.B79E62004C@flycatcher.gentoo.org |
1 | wired 12/01/09 13:29:10 |
2 | |
3 | Added: distcc-3.1-argc-fix.patch |
4 | Log: |
5 | added patch that increases argc properly, fixing virtualbox compilation. acked by xarthisius and Ultrabug, bug #351979 |
6 | |
7 | (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-devel/distcc/files/distcc-3.1-argc-fix.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/distcc/files/distcc-3.1-argc-fix.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/distcc/files/distcc-3.1-argc-fix.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: distcc-3.1-argc-fix.patch |
16 | =================================================================== |
17 | this fixes virtualbox not compiling with distcc |
18 | |
19 | https://bugs.gentoo.org/show_bug.cgi?id=351979 |
20 | http://code.google.com/p/distcc/issues/detail?id=83 |
21 | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626926 |
22 | |
23 | --- distcc-3.1.orig/source/src/arg.c |
24 | +++ distcc-3.1/source/src/arg.c |
25 | @@ -515,6 +515,8 @@ |
26 | } |
27 | free(argv); |
28 | *argv_ptr = argv = new_argv; |
29 | + i += extra_args - 1; |
30 | + argc += extra_args - 1; |
31 | } |
32 | } |
33 | return 0; |