Add patch to fix compilation on some systems. Patch from upstream.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 22 Nov 2005 20:11:46 +0000 (20:11 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 22 Nov 2005 20:11:46 +0000 (20:11 +0000)
Package-Manager: portage-2.0.53_rc7

net-libs/libtorrent/ChangeLog
net-libs/libtorrent/Manifest
net-libs/libtorrent/files/libtorrent-0.8.0-inttypes.patch [new file with mode: 0644]
net-libs/libtorrent/libtorrent-0.8.0.ebuild

index 0e3650cc23f0a319e2bbe14d4df6c70fecc9e270..84758b4da2fab6a7ee5c8412a5291f7ae5f33c16 100644 (file)
@@ -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)
 
index 9d5f9a22af07bb31297ddd1af153635f25c8bc1b..181dff421b576a9943ebf5df26deace37b1438de 100644 (file)
@@ -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 (file)
index 0000000..5335f12
--- /dev/null
@@ -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>
+
+
index 9a2cbc995a650a9c51e7cab6aff3bfb001454435..325b7c52f8a382efc8515aaa1eff57e3b14c5e09 100644 (file)
@@ -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