squid: fix build failure after bump
PATCH 1/1 squid: fix build failure after bump
Add missing patch, fixes:
http://autobuild.buildroot.net/results/f6a/f6a6dd1f3138406d1daa31e5e4ff5d5026b3c069/
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/squid/squid-02-atomic-cross.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/squid/squid-02-atomic-cross.patch
package/squid/squid-02-atomic-cross.patch new file +17 -0
@@ -0,0 +1,17 @@ +AC_RUN_IFELSE is bad for cross compiling, switch to AC_COMPILE_IFELSE +since it's enough for this test. + +Signed-off-by: Gustavo Zacarias <[email protected]> + +diff -Nura squid-3.3.9.orig/configure.ac squid-3.3.9/configure.ac +--- squid-3.3.9.orig/configure.ac 2013-09-13 09:15:32.473365627 -0300 ++++ squid-3.3.9/configure.ac 2013-09-13 13:27:06.829711487 -0300 +@@ -392,7 +392,7 @@ + dnl Check for atomic operations support in the compiler + dnl + AC_MSG_CHECKING([for GNU atomic operations support]) +-AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + int n = 0; + ]],[[ + __sync_add_and_fetch(&n, 10); // n becomes 10
Signature · 1 line
1.8.1.5
PATCH 1/1 squid: fix build failure after bump
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> Add missing patch, fixes:
Gustavo> http://autobuild.buildroot.net/results/f6a/f6a6dd1f3138406d1daa31e5e4ff5d5026b3c069/
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard