summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-04-22 11:18:32 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-04-22 11:18:32 +0000
commit4202d72b0a2464db8df32c7728947f0377196f39 (patch)
tree3e54a6872249b98ecbd01dd36a0b9a64872e9906 /net-wireless/wireless-tools
parentFixed patch location for x86 and a sed function (diff)
downloadhistorical-4202d72b0a2464db8df32c7728947f0377196f39.tar.gz
historical-4202d72b0a2464db8df32c7728947f0377196f39.tar.bz2
historical-4202d72b0a2464db8df32c7728947f0377196f39.zip
Add a patch to respect LDFLAGS on the shared library and fix buidling with --as-needed turned on.
Package-Manager: portage-2.1.5_rc5
Diffstat (limited to 'net-wireless/wireless-tools')
-rw-r--r--net-wireless/wireless-tools/ChangeLog7
-rw-r--r--net-wireless/wireless-tools/Manifest13
-rw-r--r--net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch13
-rw-r--r--net-wireless/wireless-tools/wireless-tools-29.ebuild4
4 files changed, 29 insertions, 8 deletions
diff --git a/net-wireless/wireless-tools/ChangeLog b/net-wireless/wireless-tools/ChangeLog
index 43f569b6b638..0bbb330e9841 100644
--- a/net-wireless/wireless-tools/ChangeLog
+++ b/net-wireless/wireless-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/wireless-tools
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/ChangeLog,v 1.130 2008/03/12 16:11:08 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/ChangeLog,v 1.131 2008/04/22 11:18:31 flameeyes Exp $
+
+ 22 Apr 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/wireless-tools-29-asneeded.patch, wireless-tools-29.ebuild:
+ Add a patch to respect LDFLAGS on the shared library and fix buidling with
+ --as-needed turned on.
12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing Peter Johanson (latexer, #206688) from metadata.xml.
diff --git a/net-wireless/wireless-tools/Manifest b/net-wireless/wireless-tools/Manifest
index 1aef153335b5..4d5af5fca91c 100644
--- a/net-wireless/wireless-tools/Manifest
+++ b/net-wireless/wireless-tools/Manifest
@@ -1,16 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX wireless-tools-29-asneeded.patch 478 RMD160 811ba1cd7d2279b84b8786a08cf33dea6fa4d6a3 SHA1 67a7363eef98edee18ba2c3246abfbdbdaf1d863 SHA256 41ab166672833cc030a292160b4e0d13b86fe12b6dbe79f7e8537ae76d402c56
DIST wireless_tools.29.tar.gz 294417 RMD160 89d690fc2d0dc23d7b296ef312effed65bc13470 SHA1 22040ac1497f4c5f8ddeca365591b01ae3475710 SHA256 6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1
DIST wireless_tools.30.pre6.tar.gz 327067 RMD160 18fb40127cc259d0d4d4543b68dfd104b9c2f9a5 SHA1 709a0dc3e5b02372fca734be051ec0a615c28504 SHA256 fc7b07883f37b4cb4f7ba8a06073e27d7ea770ceac04be4247cac9e2895dbb89
-EBUILD wireless-tools-29.ebuild 2038 RMD160 5ceca10f492f5627d9f7c834f0d7d707b6168f63 SHA1 7653392801e80855dd4eea03e45dc9890bf89efc SHA256 815f6bd9294aced8e7539b6556337737a57e940bf1c6872c665b20103a3fd16b
+EBUILD wireless-tools-29.ebuild 2084 RMD160 8dbd65e13304006993c9093dc460ed7adecf5b2e SHA1 bb6477352ad650273ba3fa1a3b6cb325cb6b9d42 SHA256 c032d25cae42398563638489e260cdf1401e27168ad06679999b3b83f7689652
EBUILD wireless-tools-30_pre6.ebuild 2075 RMD160 7c4c4b4b9e7341662b40e148111149c824694a31 SHA1 f27cba3d5bb3d990cf0c02d16811ec453a9bcb5e SHA256 0b155063ef1aa4fc699ebeeaff883885b24bd5ff31adee1a7b18a71de8ec6652
-MISC ChangeLog 20872 RMD160 e90adbaf4c7597ea92039f13f143b5fe40cecbaa SHA1 c411351c012590813a03d38d70a7d2037e5121db SHA256 98785490ea339ddc4222bb4ed66d64c78a6fa2095a5c8deab169bf24960238b7
+MISC ChangeLog 21100 RMD160 214765736ad6a3e1f8b7b073c92a3026ceb567a5 SHA1 4ab0032abb62614d54c3c0053c21afaa6957fc26 SHA256 ebac84852ad7a74aa1313b540448ca4b20c84f08e365bcf16966d87b66bb472f
MISC metadata.xml 412 RMD160 6b193322d67f4c59542bfded00e388a229fe2fa4 SHA1 32fae6800bb4dff12795a919f74dd5c9a1ec1ecc SHA256 abf6d2ef46c8eb5dadb3b8d153ae9d1533e5a03ce22d0426ca1844b7938854c3
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFH2AChyuNVb5qfaOYRAjppAKC+7NM1YJSsWBZ+ELRIEaHvxzaJAACfdLjw
-I/k8g8taZfKigQ5xsPTx9nA=
-=K9D3
+iEYEARECAAYFAkgNyY4ACgkQAiZjviIA2XhNsQCeKsm6aHpeyz+d+BhJ20NNv1rq
+WYwAniLHSf85cXZkgu4zA9Th1nnz3qbH
+=A7B1
-----END PGP SIGNATURE-----
diff --git a/net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch b/net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch
new file mode 100644
index 000000000000..04f2d869b6d2
--- /dev/null
+++ b/net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch
@@ -0,0 +1,13 @@
+Index: wireless_tools.29/Makefile
+===================================================================
+--- wireless_tools.29.orig/Makefile
++++ wireless_tools.29/Makefile
+@@ -145,7 +145,7 @@ wireless.h:
+
+ # Compilation of the dynamic library
+ $(DYNAMIC): $(OBJS:.o=.so)
+- $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
++ $(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc
+
+ # Compilation of the static library
+ $(STATIC): $(OBJS:.o=.so)
diff --git a/net-wireless/wireless-tools/wireless-tools-29.ebuild b/net-wireless/wireless-tools/wireless-tools-29.ebuild
index 7a1905f5674b..b9d58c1b8a7b 100644
--- a/net-wireless/wireless-tools/wireless-tools-29.ebuild
+++ b/net-wireless/wireless-tools/wireless-tools-29.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/wireless-tools-29.ebuild,v 1.7 2008/01/13 08:56:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/wireless-tools-29.ebuild,v 1.8 2008/04/22 11:18:31 flameeyes Exp $
inherit toolchain-funcs multilib
@@ -23,6 +23,8 @@ RDEPEND="virtual/libc"
src_unpack() {
unpack ${A}
+ epatch "${FILESDIR}/${P}-asneeded.patch"
+
sed -i \
-e "s:^\(CC\) = gcc:\1 = $(tc-getCC):" \
-e "s:^\(AR\) = ar:\1 = $(tc-getAR):" \