From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] squid 3.4.14: Bugfix for #4431 (C code is not compiled with CFLAGS) Date: Sat, 13 Feb 2016 08:29:39 +0100 Message-ID: <1455348579-1182-1-git-send-email-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6218727487969904463==" List-Id: --===============6218727487969904463== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable For details see: http://bugs.squid-cache.org/show_bug.cgi?id=3D4431 Signed-off-by: Matthias Fischer --- lfs/squid | 1 + src/patches/squid-3.4-13230.patch | 44 +++++++++++++++++++++++++++++++++++++= ++ 2 files changed, 45 insertions(+) create mode 100644 src/patches/squid-3.4-13230.patch diff --git a/lfs/squid b/lfs/squid index c2b3935..997c660 100644 --- a/lfs/squid +++ b/lfs/squid @@ -72,6 +72,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xaf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4-13228.patch cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4.14-fix-max-= file-descriptors.patch + cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4-13230.patch cd $(DIR_APP) && autoreconf -vfi cd $(DIR_APP)/libltdl && autoreconf -vfi =20 diff --git a/src/patches/squid-3.4-13230.patch b/src/patches/squid-3.4-13230.= patch new file mode 100644 index 0000000..597d135 --- /dev/null +++ b/src/patches/squid-3.4-13230.patch @@ -0,0 +1,44 @@ +------------------------------------------------------------ +revno: 13230 +revision-id: squid3(a)treenet.co.nz-20160212045316-zwx4r9we4gf27rx3 +parent: squid3(a)treenet.co.nz-20151119051038-vwclso11p68sgvxc +fixes bug: http://bugs.squid-cache.org/show_bug.cgi?id=3D4431 +author: Marcos Mello +committer: Amos Jeffries +branch nick: 3.4 +timestamp: Fri 2016-02-12 17:53:16 +1300 +message: + Bug 4431: C code is not compiled with CFLAGS +------------------------------------------------------------ +# Bazaar merge directive format 2 (Bazaar 0.90) +# revision_id: squid3(a)treenet.co.nz-20160212045316-zwx4r9we4gf27rx3 +# target_branch: http://bzr.squid-cache.org/bzr/squid3/3.4 +# testament_sha1: 53c8d70db04dad826815fb86995cda7e99f1d8e2 +# timestamp: 2016-02-12 05:50:53 +0000 +# source_branch: http://bzr.squid-cache.org/bzr/squid3/3.4 +# base_revision_id: squid3(a)treenet.co.nz-20151119051038-\ +# vwclso11p68sgvxc +#=20 +# Begin patch +=3D=3D=3D modified file 'acinclude/compiler-flags.m4' +--- acinclude/compiler-flags.m4 2015-01-09 10:30:44 +0000 ++++ acinclude/compiler-flags.m4 2016-02-12 04:53:16 +0000 +@@ -36,7 +36,7 @@ + AC_CACHE_CHECK([whether compiler accepts $2],[$1], + [{ + AC_REQUIRE([AC_PROG_CC]) +- SAVED_FLAGS=3D"$CFLAGS" ++ SAVED_CFLAGS=3D"$CFLAGS" + SAVED_CXXFLAGS=3D"$CXXFLAGS" + CFLAGS=3D"$CFLAGS $2" + CXXFLAGS=3D"$CXXFLAGS $2" +@@ -60,7 +60,7 @@ + AC_CACHE_CHECK([whether compiler requires $2],[$1], + [{ + AC_REQUIRE([AC_PROG_CC]) +- SAVED_FLAGS=3D"$CFLAGS" ++ SAVED_CFLAGS=3D"$CFLAGS" + SAVED_CXXFLAGS=3D"$CXXFLAGS" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM($3,$4)],[$1=3Dno],[],[$1=3Dno]) + if test "x$1" !=3D "xno" ; then + --=20 2.7.1 --===============6218727487969904463==--