squid: update to 3.5.2
[feed/packages.git] / net / squid / patches / 001-cross_compile.patch
1 --- a/src/Makefile.in
2 +++ b/src/Makefile.in
3 @@ -7759,7 +7759,7 @@ cache_cf.o: cf_parser.cci
4
5 # cf_gen builds the configuration files.
6 cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci
7 - $(BUILDCXX) $(BUILDCXXFLAGS) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
8 + g++ -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
9
10 # squid.conf.default is built by cf_gen when making cf_parser.cci
11 squid.conf.default squid.conf.documented: cf_parser.cci
12 --- a/configure
13 +++ b/configure
14 @@ -22935,7 +22935,7 @@ $as_echo_n "checking whether the SSL_get
15 if test "$cross_compiling" = yes; then :
16 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18 -as_fn_error $? "cannot run test program while cross compiling
19 +_as_fn_error $? "cannot run test program while cross compiling
20 See \`config.log' for more details" "$LINENO" 5; }
21 else
22 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23 @@ -22983,7 +22983,7 @@ $as_echo_n "checking whether the workaro
24 if test "$cross_compiling" = yes; then :
25 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27 -as_fn_error $? "cannot run test program while cross compiling
28 +_as_fn_error $? "cannot run test program while cross compiling
29 See \`config.log' for more details" "$LINENO" 5; }
30 else
31 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32 @@ -28201,7 +28201,7 @@ else
33 if test "$cross_compiling" = yes; then :
34 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36 -as_fn_error $? "cannot run test program while cross compiling
37 +_as_fn_error $? "cannot run test program while cross compiling
38 See \`config.log' for more details" "$LINENO" 5; }
39 else
40 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41 @@ -28226,7 +28226,7 @@ else
42 if test "$cross_compiling" = yes; then :
43 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45 -as_fn_error $? "cannot run test program while cross compiling
46 +_as_fn_error $? "cannot run test program while cross compiling
47 See \`config.log' for more details" "$LINENO" 5; }
48 else
49 cat confdefs.h - <<_ACEOF >conftest.$ac_ext