diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-02-04 06:38:25 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-02-04 10:44:28 +0100 |
commit | 50f0f9d63c7252d1d46e901be24caef581b1e547 (patch) | |
tree | c1f6939a447f0a522215cd190ccf8a95b65878ce /package/squid/squid-02-missing-include-time_h.patch | |
parent | 136ede6f19bff8dcbc6eceab2bef0c1e6049541c (diff) | |
download | buildroot-50f0f9d63c7252d1d46e901be24caef581b1e547.tar.gz buildroot-50f0f9d63c7252d1d46e901be24caef581b1e547.zip |
squid: bump to version 3.4.3
And exclude for avr32 since the toolchain is too old, fixes:
http://autobuild.buildroot.net/results/c6a/c6a686885a6c845b527c58c3f2075f82bcf120e2/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/squid/squid-02-missing-include-time_h.patch')
-rw-r--r-- | package/squid/squid-02-missing-include-time_h.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/squid/squid-02-missing-include-time_h.patch b/package/squid/squid-02-missing-include-time_h.patch new file mode 100644 index 0000000000..18b3ab3b55 --- /dev/null +++ b/package/squid/squid-02-missing-include-time_h.patch @@ -0,0 +1,28 @@ +ipc/Kid.cc: add missing include of time.h + +Function time() comes from <time.h>, so add the necessary include. +This fixes compilation on some configurations, for example +http://autobuild.buildroot.net/results/b33/b33e1f41e50b6e7ac3e30806b9a617d451bc27b4/ + +Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> +Upstream-status: submitted (http://bugs.squid-cache.org/show_bug.cgi?id=3967) + +--- + src/ipc/Kid.cc | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + + +diff --git a/src/ipc/Kid.cc b/src/ipc/Kid.cc +--- a/src/ipc/Kid.cc ++++ b/src/ipc/Kid.cc +@@ -11,6 +11,10 @@ + #include <sys/wait.h> + #endif + ++#if HAVE_TIME_H ++#include <time.h> ++#endif ++ + int TheProcessKind = pkOther; + + Kid::Kid(): |