summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-19 21:56:18 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-19 21:56:18 +0000
commitbe154a2232a42b969b8fa1bf06ab60f2d6a1e2b3 (patch)
tree21deb07f17b13930a4b1c75d2076f5ac43bcea3c /net-p2p
parentFixed SRC_URI. (diff)
downloadhistorical-be154a2232a42b969b8fa1bf06ab60f2d6a1e2b3.tar.gz
historical-be154a2232a42b969b8fa1bf06ab60f2d6a1e2b3.tar.bz2
historical-be154a2232a42b969b8fa1bf06ab60f2d6a1e2b3.zip
Fix building with -Wl,--as-needed wrt #248147.
Package-Manager: portage-2.2_rc59/cvs/Linux x86_64
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/bitstormlite/ChangeLog6
-rw-r--r--net-p2p/bitstormlite/Manifest5
-rw-r--r--net-p2p/bitstormlite/bitstormlite-0.2p.ebuild10
-rw-r--r--net-p2p/bitstormlite/files/bitstormlite-0.2p-asneeded.patch13
4 files changed, 27 insertions, 7 deletions
diff --git a/net-p2p/bitstormlite/ChangeLog b/net-p2p/bitstormlite/ChangeLog
index c6b560b4597b..6d3e15d8dc57 100644
--- a/net-p2p/bitstormlite/ChangeLog
+++ b/net-p2p/bitstormlite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/bitstormlite
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitstormlite/ChangeLog,v 1.11 2009/07/25 19:53:52 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitstormlite/ChangeLog,v 1.12 2009/12/19 21:56:17 ssuominen Exp $
+
+ 19 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
+ bitstormlite-0.2p.ebuild, +files/bitstormlite-0.2p-asneeded.patch:
+ Fix building with -Wl,--as-needed wrt #248147.
25 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
bitstormlite-0.2p.ebuild, +files/bitstormlite-0.2p-gcc44.patch:
diff --git a/net-p2p/bitstormlite/Manifest b/net-p2p/bitstormlite/Manifest
index bbc4f99d5485..ba1a6b27e4d6 100644
--- a/net-p2p/bitstormlite/Manifest
+++ b/net-p2p/bitstormlite/Manifest
@@ -1,6 +1,7 @@
+AUX bitstormlite-0.2p-asneeded.patch 554 RMD160 22311550b27bc67c58a6a1c73f990dba29de548f SHA1 c4ee76225c9319aa717072330ac931ca51c3cc42 SHA256 c31bcc26140bfe415ad5bafc348c955fb39ac6362302d02ce56abd369d8f15c0
AUX bitstormlite-0.2p-gcc43.patch 849 RMD160 95a475398b28a4973bbabe83b479a59beabc1ba8 SHA1 9b220cf12fbae6442f7b76cc280e2296cef91abe SHA256 50ee5e7723deeb5ab248d3d1db771b4ccd0e937f3cd853d20c6f2888a5c0c835
AUX bitstormlite-0.2p-gcc44.patch 1088 RMD160 dcd926d23d6f8019568c73132185d622b2c61f96 SHA1 d14f3f57566d6e7cf8aae9d2a1f16447307f807d SHA256 6c66134a127c73e417299d4bfe0761987b96b442fb875d11bc0cbe85765f9ddd
DIST BitStormLite-0.2p.tar.gz 262456 RMD160 4f65c35b549f547fda4ba45967ca03cdd1a653bb SHA1 81ff32687c98a3ecf846fb40d180c468d777f477 SHA256 98ad738805e98fbcae138ea90a4fcff01f200f004bc9a0ca98f238ed13bed40f
-EBUILD bitstormlite-0.2p.ebuild 778 RMD160 5692ec59d91d3f52320a79cc60e1bd6d99c60cdc SHA1 009ca16d2347915562668885c5b38086fb17b332 SHA256 4dce570199aad9aa2531e9806b89c41616989bba6fcf5ba54157ab52f66f9434
-MISC ChangeLog 2085 RMD160 aec3a134bc4d2ac929f10beb3a78b8618d3c0b83 SHA1 7ddaf4c32af1f77a7d3276c22252e9ef212b63cf SHA256 02884a6471a5f6e5a95660ddd59f9f6edcfa19eca03e1566b269a0f9362a0b6c
+EBUILD bitstormlite-0.2p.ebuild 816 RMD160 2c9ffb77e8bc675021e72d481a60b1cfaa2925df SHA1 41ba284d7f5b1d294c7810b60c6544ea646f8036 SHA256 e57a47c6ebcb65469b161cde396230a1c0478019830c036de06d2159fa43f258
+MISC ChangeLog 2258 RMD160 a2a5097049be3318c76fc349dc2588d428a9a8b6 SHA1 4212b54cafc4c9ae470976b15f075486cb7afb00 SHA256 426e33f35b338a49a4ccfaa655984ce3cdf23b9074b2c087543c2147736af829
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
diff --git a/net-p2p/bitstormlite/bitstormlite-0.2p.ebuild b/net-p2p/bitstormlite/bitstormlite-0.2p.ebuild
index 471d6913535e..ca6ca20b699b 100644
--- a/net-p2p/bitstormlite/bitstormlite-0.2p.ebuild
+++ b/net-p2p/bitstormlite/bitstormlite-0.2p.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitstormlite/bitstormlite-0.2p.ebuild,v 1.4 2009/07/25 19:53:52 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitstormlite/bitstormlite-0.2p.ebuild,v 1.5 2009/12/19 21:56:17 ssuominen Exp $
EAPI=2
-inherit eutils
+inherit autotools eutils
DESCRIPTION="A light BitTorrent client based on c++ and gtk+."
HOMEPAGE="http://sourceforge.net/projects/bbom/"
@@ -23,9 +23,11 @@ S=${WORKDIR}/BitStormLite-${PV}
src_prepare() {
epatch "${FILESDIR}"/${P}-gcc43.patch \
- "${FILESDIR}"/${P}-gcc44.patch
+ "${FILESDIR}"/${P}-gcc44.patch \
+ "${FILESDIR}"/${P}-asneeded.patch
+ eautoreconf
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
}
diff --git a/net-p2p/bitstormlite/files/bitstormlite-0.2p-asneeded.patch b/net-p2p/bitstormlite/files/bitstormlite-0.2p-asneeded.patch
new file mode 100644
index 000000000000..17cf559c9efd
--- /dev/null
+++ b/net-p2p/bitstormlite/files/bitstormlite-0.2p-asneeded.patch
@@ -0,0 +1,13 @@
+diff -ur BitStormLite-0.2p.orig/src/Makefile.am BitStormLite-0.2p/src/Makefile.am
+--- BitStormLite-0.2p.orig/src/Makefile.am 2007-09-20 15:01:06.000000000 +0300
++++ BitStormLite-0.2p/src/Makefile.am 2009-12-19 23:55:38.000000000 +0200
+@@ -4,8 +4,7 @@
+ localedir = $(datadir)/locale
+ INCLUDES = $(GTK_CFLAGS) -DLOCALEDIR=\"$(localedir)\"
+
+-bitstormlite_LDFLAGS = -lpthread $(GTK_LIBS) `curl-config --libs`
+-bitstormlite_LDADD = $(LIBINTL)
++bitstormlite_LDADD = -lpthread $(LIBINTL) $(GTK_LIBS) -lcurl
+
+ bitstormlite_SOURCES = bdict.cpp\
+ BitSet.cpp\