summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2009-04-13 09:54:47 +0000
committerThilo Bangert <bangert@gentoo.org>2009-04-13 09:54:47 +0000
commitc8b522edb380e2f5511b963f3784477f01e3afa6 (patch)
treef051932ede4fde9cb038a2014e272b8fce42a025 /www-servers/varnish/files
parentDrop alpha/ia64 keywords, as i didn't keyword this, and readd ~hppa, which wa... (diff)
downloadgentoo-2-c8b522edb380e2f5511b963f3784477f01e3afa6.tar.gz
gentoo-2-c8b522edb380e2f5511b963f3784477f01e3afa6.tar.bz2
gentoo-2-c8b522edb380e2f5511b963f3784477f01e3afa6.zip
version bump - fix build with --as-needed (bug #248488)
(Portage version: 2.2_rc26/cvs/Linux i686)
Diffstat (limited to 'www-servers/varnish/files')
-rw-r--r--www-servers/varnish/files/varnish-2.0.4-link-order.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/www-servers/varnish/files/varnish-2.0.4-link-order.patch b/www-servers/varnish/files/varnish-2.0.4-link-order.patch
new file mode 100644
index 000000000000..e3eca384b5b0
--- /dev/null
+++ b/www-servers/varnish/files/varnish-2.0.4-link-order.patch
@@ -0,0 +1,36 @@
+patch by bangert to fix build with --as-needed.
+sent upstream at http://varnish.projects.linpro.no/ticket/486
+
+diff -Naur varnish-2.0.4/lib/libvarnish/Makefile.am varnish-2.0.4.new/lib/libvarnish/Makefile.am
+--- varnish-2.0.4/lib/libvarnish/Makefile.am 2009-04-01 15:35:14.000000000 +0200
++++ varnish-2.0.4.new/lib/libvarnish/Makefile.am 2009-04-07 21:55:06.000000000 +0200
+@@ -29,7 +29,7 @@
+ vss.c \
+ vtmpfile.c
+
+-libvarnish_la_LIBADD = ${RT_LIBS} ${NET_LIBS} ${LIBM}
++libvarnish_la_LIBADD = $(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la ${RT_LIBS} ${NET_LIBS} ${LIBM}
+
+
+ if ENABLE_TESTS
+diff -Naur varnish-2.0.4/lib/Makefile.am varnish-2.0.4.new/lib/Makefile.am
+--- varnish-2.0.4/lib/Makefile.am 2009-04-01 15:35:14.000000000 +0200
++++ varnish-2.0.4.new/lib/Makefile.am 2009-04-07 21:57:40.000000000 +0200
+@@ -1,15 +1,15 @@
+ # $Id: varnish-2.0.4-link-order.patch,v 1.1 2009/04/13 09:54:47 bangert Exp $
+
+ SUBDIRS = \
++ libvarnishcompat \
+ libvarnish \
+ libvarnishapi \
+- libvarnishcompat \
+ libvcl \
+ @JEMALLOC_SUBDIR@
+
+ DIST_SUBDIRS = \
++ libvarnishcompat \
+ libvarnish \
+ libvarnishapi \
+- libvarnishcompat \
+ libvcl \
+ libjemalloc