summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/squid/files/squid-3.0.18-cross-compile.patch')
-rw-r--r--net-proxy/squid/files/squid-3.0.18-cross-compile.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/net-proxy/squid/files/squid-3.0.18-cross-compile.patch b/net-proxy/squid/files/squid-3.0.18-cross-compile.patch
deleted file mode 100644
index 5a91cfe7ce44..000000000000
--- a/net-proxy/squid/files/squid-3.0.18-cross-compile.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -Nru squid-3.0.STABLE18.orig/configure.in squid-3.0.STABLE18/configure.in
---- squid-3.0.STABLE18.orig/configure.in 2009-08-05 19:04:24.000000000 +0200
-+++ squid-3.0.STABLE18/configure.in 2009-08-05 19:04:51.000000000 +0200
-@@ -1895,6 +1895,10 @@
- ;;
- esac
-
-+dnl Define HOSTCXX
-+HOSTCXX="$build-g++"
-+AC_SUBST(HOSTCXX)
-+
- dnl Check for programs
- AC_PROG_CPP
- AC_PROG_INSTALL
-diff -Nru squid-3.0.STABLE18.orig/src/Makefile.am squid-3.0.STABLE18/src/Makefile.am
---- squid-3.0.STABLE18.orig/src/Makefile.am 2009-08-05 19:04:24.000000000 +0200
-+++ squid-3.0.STABLE18/src/Makefile.am 2009-08-05 19:04:51.000000000 +0200
-@@ -1011,6 +1011,8 @@
-
- DEFS = @DEFS@ -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\"
-
-+HOSTCXX ?= @HOSTCXX@
-+
- $(OBJS): $(top_srcdir)/include/version.h ../include/autoconf.h
-
- snmp_core.o snmp_agent.o: ../snmplib/libsnmp.a $(top_srcdir)/include/cache_snmp.h
-@@ -1034,6 +1036,11 @@
- squid.conf.default: cf_parser.h
- true
-
-+cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES)
-+ $(HOSTCXX) -o $@ $(srcdir)/cf_gen.cc \
-+ $(top_srcdir)/lib/util.c $(top_srcdir)/lib/assert.c \
-+ -DNDEBUG -DBUILD_HOST_TOOL ${INCLUDES}
-+
- cf_parser.h: cf.data cf_gen$(EXEEXT)
- ./cf_gen cf.data $(srcdir)/cf.data.depend
-