Skip to content

Commit

Permalink
squid: update to 5.7, patch for cross-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
dkwo committed Feb 3, 2023
1 parent c7e040d commit 5c025b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions srcpkgs/squid/patches/001-cross_compile.patch
@@ -0,0 +1,9 @@
From: https://raw.githubusercontent.com/hongkongkiwi/openwrt-squid/master/patches/001-cross_compile.patch

--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -7761,3 +7761,3 @@ cache_cf.o: cf_parser.cci
cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci
- $(BUILDCXX) $(BUILDCXXFLAGS) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
+ g++ -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src

4 changes: 2 additions & 2 deletions srcpkgs/squid/template
@@ -1,6 +1,6 @@
# Template file for 'squid'
pkgname=squid
version=5.3
version=5.7
revision=1
build_style=gnu-configure
configure_args="
Expand Down Expand Up @@ -65,7 +65,7 @@ license="GPL-2.0-or-later"
homepage="http://www.squid-cache.org/"
changelog="http://www.squid-cache.org/Versions/v5/changesets/"
distfiles="http://www.squid-cache.org/Versions/v5/squid-${version}.tar.xz"
checksum=45178588df1311ded41ebadd632840c4d93a8d7f5f60e38e74acf2f1ae2f1715
checksum=6b0753aaba4c9c4efd333e67124caecf7ad6cc2d38581f19d2f0321f5b7ecd81
system_accounts="squid"
# squid-conf-tests requires a squid user in the system
make_check=no
Expand Down

0 comments on commit 5c025b3

Please sign in to comment.