summaryrefslogtreecommitdiff
path: root/distcc/distcc-3.1-argc-fix.patch
blob: d7f30b5567faf2ed3fa608bf06228e2d74301832 (plain)
    1 this fixes virtualbox not compiling with distcc
    2 
    3 https://bugs.gentoo.org/show_bug.cgi?id=351979
    4 http://code.google.com/p/distcc/issues/detail?id=83
    5 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626926
    6 
    7 --- distcc-3.1.orig/source/src/arg.c
    8 +++ distcc-3.1/source/src/arg.c
    9 @@ -515,6 +515,8 @@
   10              }
   11              free(argv);
   12              *argv_ptr = argv = new_argv;
   13 +            i += extra_args - 1;
   14 +            argc += extra_args - 1;
   15          }
   16      }
   17      return 0;

Generated by cgit