summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-22 20:11:46 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-22 20:11:46 +0000
commit70b7512c0b36cc703516d78462805b33c919f41c (patch)
tree6ece8afd5688edeac58e10397179198fae71fe04 /net-libs
parentstable amd64 (diff)
downloadhistorical-70b7512c0b36cc703516d78462805b33c919f41c.tar.gz
historical-70b7512c0b36cc703516d78462805b33c919f41c.tar.bz2
historical-70b7512c0b36cc703516d78462805b33c919f41c.zip
Add patch to fix compilation on some systems. Patch from upstream.
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libtorrent/ChangeLog6
-rw-r--r--net-libs/libtorrent/Manifest11
-rw-r--r--net-libs/libtorrent/files/libtorrent-0.8.0-inttypes.patch12
-rw-r--r--net-libs/libtorrent/libtorrent-0.8.0.ebuild9
4 files changed, 31 insertions, 7 deletions
diff --git a/net-libs/libtorrent/ChangeLog b/net-libs/libtorrent/ChangeLog
index 0e3650cc23f0..84758b4da2fa 100644
--- a/net-libs/libtorrent/ChangeLog
+++ b/net-libs/libtorrent/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/libtorrent
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.32 2005/11/21 21:32:42 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.33 2005/11/22 20:11:46 flameeyes Exp $
+
+ 22 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/libtorrent-0.8.0-inttypes.patch, libtorrent-0.8.0.ebuild:
+ Add patch to fix compilation on some systems. Patch from upstream.
*libtorrent-0.8.0 (21 Nov 2005)
diff --git a/net-libs/libtorrent/Manifest b/net-libs/libtorrent/Manifest
index 9d5f9a22af07..181dff421b57 100644
--- a/net-libs/libtorrent/Manifest
+++ b/net-libs/libtorrent/Manifest
@@ -1,19 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 80d9f4fce0bfb856392553c012658150 ChangeLog 5784
+MD5 704e4e39f30aa096a9b6fa5be39f6410 ChangeLog 5974
MD5 b6bdcc98c0629e31fa94fb37e01a3926 files/digest-libtorrent-0.7.0-r1 68
MD5 07f4fde34f29b1823ba3ece4ddfcb022 files/digest-libtorrent-0.7.6 68
MD5 8ad855ece3b0f111304a144e49174930 files/digest-libtorrent-0.8.0 68
MD5 78f5b0b99807bf88fcc027062fd2572d files/libtorrent-0.7.0-1.diff 579
+MD5 48ab5c77f02a4e38d9886e85d77aade2 files/libtorrent-0.8.0-inttypes.patch 322
MD5 9f1b0c2bcf00b11553b515da4b71dae9 libtorrent-0.7.0-r1.ebuild 1164
MD5 0a16b0c01dae6c5b1cc6a5cb7f18759e libtorrent-0.7.6.ebuild 918
-MD5 f2dcf95fef93b86a08d45ff2f7448942 libtorrent-0.8.0.ebuild 924
+MD5 313db0500d8f506b3eee91948373ab2b libtorrent-0.8.0.ebuild 1007
MD5 b59f615ff4e1c464f88d1667a66f6b5d metadata.xml 224
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDgj0uAiZjviIA2XgRAhgQAKDDwAbDOyF9Hq3IE7q0pL29eew8aQCeNM+X
-Kimqe9utDKWuJqvxhzpabzA=
-=dGSK
+iD8DBQFDg3u6AiZjviIA2XgRAgXpAKCFOP7BKI4ug7/K0T0R2sh/mzGRFACeOghH
+btj/czXOM86kfE/tka48Lqs=
+=ETSG
-----END PGP SIGNATURE-----
diff --git a/net-libs/libtorrent/files/libtorrent-0.8.0-inttypes.patch b/net-libs/libtorrent/files/libtorrent-0.8.0-inttypes.patch
new file mode 100644
index 000000000000..5335f1201324
--- /dev/null
+++ b/net-libs/libtorrent/files/libtorrent-0.8.0-inttypes.patch
@@ -0,0 +1,12 @@
+--- libtorrent-0.8.0/src/torrent/http.h.orig 2005-11-22 00:43:49.000000000 +0100
++++ libtorrent-0.8.0/src/torrent/http.h 2005-11-22 00:43:54.000000000 +0100
+@@ -37,6 +37,7 @@
+ #ifndef LIBTORRENT_HTTP_H
+ #define LIBTORRENT_HTTP_H
+
++#include <inttypes.h>
+ #include <string>
+ #include <iosfwd>
+ #include <sigc++/signal.h>
+
+
diff --git a/net-libs/libtorrent/libtorrent-0.8.0.ebuild b/net-libs/libtorrent/libtorrent-0.8.0.ebuild
index 9a2cbc995a65..325b7c52f8a3 100644
--- a/net-libs/libtorrent/libtorrent-0.8.0.ebuild
+++ b/net-libs/libtorrent/libtorrent-0.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.8.0.ebuild,v 1.1 2005/11/21 21:32:42 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.8.0.ebuild,v 1.2 2005/11/22 20:11:46 flameeyes Exp $
inherit eutils toolchain-funcs flag-o-matic
@@ -18,6 +18,13 @@ RDEPEND=">=dev-libs/libsigc++-2"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.11"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}/${P}-inttypes.patch"
+}
+
src_compile() {
[[ $(tc-arch) = "x86" ]] && filter-flags -fomit-frame-pointer