summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-03-14 11:11:19 +0000
committerAlin Năstac <mrness@gentoo.org>2007-03-14 11:11:19 +0000
commit145d5e210c6f09f311f3da007ef98498f84900ef (patch)
treef29809134fffa75f2de14532bfc9cd017f98e4d5 /net-libs
parentstable on amd64; security bug 163678 (diff)
downloadgentoo-2-145d5e210c6f09f311f3da007ef98498f84900ef.tar.gz
gentoo-2-145d5e210c6f09f311f3da007ef98498f84900ef.tar.bz2
gentoo-2-145d5e210c6f09f311f3da007ef98498f84900ef.zip
Add -Wl,-rpath-link,. to LDFLAGS (bug 167939 comment 11).
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/wvstreams/ChangeLog6
-rw-r--r--net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch9
2 files changed, 14 insertions, 1 deletions
diff --git a/net-libs/wvstreams/ChangeLog b/net-libs/wvstreams/ChangeLog
index 06412d14f4ec..dcad19c1aae2 100644
--- a/net-libs/wvstreams/ChangeLog
+++ b/net-libs/wvstreams/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/wvstreams
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.99 2007/03/12 15:54:55 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.100 2007/03/14 11:11:19 mrness Exp $
+
+ 14 Mar 2007; Alin Năstac <mrness@gentoo.org>
+ files/wvstreams-4.3-as-needed.patch:
+ Add -Wl,-rpath-link,. to LDFLAGS (bug 167939 comment 11).
*wvstreams-4.3 (12 Mar 2007)
diff --git a/net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch b/net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch
index 3e1f205a73c4..3088abc72f0f 100644
--- a/net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch
+++ b/net-libs/wvstreams/files/wvstreams-4.3-as-needed.patch
@@ -25,6 +25,15 @@ diff -Nru wvstreams-4.3.orig/configure.ac wvstreams-4.3/configure.ac
diff -Nru wvstreams-4.3.orig/wvrules.mk wvstreams-4.3/wvrules.mk
--- wvstreams-4.3.orig/wvrules.mk 2007-02-07 21:06:17.000000000 +0200
+++ wvstreams-4.3/wvrules.mk 2007-03-12 13:59:25.000000000 +0200
+@@ -60,7 +60,7 @@
+ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+ CFLAGS += $(COPTS) $(C_AND_CXX_FLAGS)
+ CXXFLAGS += $(CXXOPTS) $(C_AND_CXX_FLAGS)
+-LDFLAGS += $(LDOPTS) -L$(WVSTREAMS_LIB)
++LDFLAGS += $(LDOPTS) -L$(WVSTREAMS_LIB) -Wl,-rpath-link,$(WVSTREAMS_LIB)
+
+ # Default compiler we use for linking
+ WVLINK_CC = gcc
@@ -272,7 +272,7 @@
%.so: SONAME=$@$(if $(SO_VERSION),.$(SO_VERSION))
wvsoname=$(if $($1-SONAME),$($1-SONAME),$(if $(SONAME),$(SONAME),$1))