# 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)
-----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-----
--- /dev/null
+--- 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>
+
+
# 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
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