[package] update libtorrent to 0.12.6 (#7252)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21296 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
74f5ee2c0f
commit
e2827ec501
@ -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
|
||||
|
24
libs/libtorrent/patches/100-fix_cross_compile.patch
Normal file
24
libs/libtorrent/patches/100-fix_cross_compile.patch
Normal file
@ -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
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user