From f7fe70995a17c11a6cebb539a178d202a33dd341 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 13 Aug 2010 21:34:00 +0000 Subject: [PATCH] [packages] libtorrent: fix build failures on octeon & ppc git-svn-id: svn://svn.openwrt.org/openwrt/packages@22628 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/122-fix-uintptr_t-use.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libs/libtorrent/patches/122-fix-uintptr_t-use.patch diff --git a/libs/libtorrent/patches/122-fix-uintptr_t-use.patch b/libs/libtorrent/patches/122-fix-uintptr_t-use.patch new file mode 100644 index 000000000..ce19e0158 --- /dev/null +++ b/libs/libtorrent/patches/122-fix-uintptr_t-use.patch @@ -0,0 +1,18 @@ +fix the following build error on octeon & ppc + +In file included from ../../rak/priority_queue_default.h:41, + from ./../dht/dht_router.h:40, + from tracker_dht.cc:42: +../../rak/allocators.h: In static member function 'static T* rak::cacheline_allocator::alloc_size(size_t)': +../../rak/allocators.h:109: error: 'uintptr_t' was not declared in this scope + +--- a/rak/allocators.h ++++ b/rak/allocators.h +@@ -41,6 +41,7 @@ + + #include + #include ++#include /* for uintptr_t */ + #include + #include +