[package] update libtorrent to 0.12.6 (#7252)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 2 May 2010 13:09:19 +0000 (13:09 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 2 May 2010 13:09:19 +0000 (13:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21296 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/libtorrent/Makefile
libs/libtorrent/patches/100-fix_cross_compile.patch [new file with mode: 0644]
libs/libtorrent/patches/130-missing_inttypes.patch [deleted file]

index 49c6fae..d49f1c3 100644 (file)
@@ -8,9 +8,9 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libtorrent
-PKG_REV:=1130
+PKG_REV:=1165
 PKG_VERSION:=0.12.6_r$(PKG_REV)
-PKG_RELEASE:=3
+PKG_RELEASE:=1
 
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
diff --git a/libs/libtorrent/patches/100-fix_cross_compile.patch b/libs/libtorrent/patches/100-fix_cross_compile.patch
new file mode 100644 (file)
index 0000000..ab5bca1
--- /dev/null
@@ -0,0 +1,24 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -17,7 +17,6 @@
+ AM_INIT_AUTOMAKE
+ AM_CONFIG_HEADER(config.h)
+-AM_PATH_CPPUNIT(1.9.6)
+ AC_DISABLE_STATIC
+ AM_DISABLE_STATIC
+@@ -117,5 +116,4 @@
+       src/protocol/Makefile
+       src/tracker/Makefile
+       src/utils/Makefile
+-        test/Makefile
+ ])
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = src test
++SUBDIRS = src
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = libtorrent.pc
diff --git a/libs/libtorrent/patches/130-missing_inttypes.patch b/libs/libtorrent/patches/130-missing_inttypes.patch
deleted file mode 100644 (file)
index 09ff6d8..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN libtorrent-0.12.6_r1130/rak/allocators.h libtorrent-0.12.6_r1130.new/rak/allocators.h
---- libtorrent-0.12.6_r1130/rak/allocators.h   2009-12-26 12:16:21.000000000 +0100
-+++ libtorrent-0.12.6_r1130.new/rak/allocators.h       2010-03-29 11:49:51.000000000 +0200
-@@ -43,6 +43,7 @@
- #include <limits>
- #include <stdlib.h>
- #include <sys/types.h>
-+#include <inttypes.h>
- namespace rak {