From 5ab4f9a5293c951832a717c984deed63ba42b3fe Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 7 Jul 2014 11:45:15 +0000 Subject: [PATCH] community/distcc: patch fix --- community/distcc/PKGBUILD | 2 +- community/distcc/allow-zero-timeout.patch | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/community/distcc/PKGBUILD b/community/distcc/PKGBUILD index b25afcd86..2295dac71 100644 --- a/community/distcc/PKGBUILD +++ b/community/distcc/PKGBUILD @@ -28,7 +28,7 @@ source=(http://distcc.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 md5sums=('18cd4f33f5cfc3e75675cafc568fb9cf' '239aae53250e3e35288cba566bc0bbf1' '09f0688da9c1840e518d2593bd5c3830' - '211e96f2c920d10cd5284e4fc075d559') + '6d6abde46f321355eb0eaafc03c2ad1d') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/distcc/allow-zero-timeout.patch b/community/distcc/allow-zero-timeout.patch index b414c360f..f75d99166 100644 --- a/community/distcc/allow-zero-timeout.patch +++ b/community/distcc/allow-zero-timeout.patch @@ -1,7 +1,15 @@ diff -urN a/src/io.c b/src/io.c --- a/src/io.c 2011-04-05 12:58:58.000000000 -0600 -+++ b/src/io.c 2014-07-07 05:37:25.074543921 -0600 -@@ -75,11 +75,10 @@ ++++ b/src/io.c 2014-07-07 05:44:18.668161665 -0600 +@@ -43,6 +43,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -75,11 +76,10 @@ const char *user_timeout = getenv("DISTCC_IO_TIMEOUT"); if (user_timeout) { int parsed_user_timeout = atoi(user_timeout);