From 8ca30b97898323b57e203ec3171a9e8695a56d5f Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 28 Nov 2010 18:02:09 +0000 Subject: [PATCH] [package] update libtorrent to r1189 This patch upgrades libtorrent and rtorrent to svn version 1189. Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net > SVN-Revision: 24173 --- libs/libtorrent/Makefile | 4 ++-- libs/libtorrent/patches/110-fix-no-posix_memalign.diff | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/libtorrent/Makefile b/libs/libtorrent/Makefile index 46c865c131..2cf0a1e197 100644 --- a/libs/libtorrent/Makefile +++ b/libs/libtorrent/Makefile @@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libtorrent -PKG_REV:=1165 +PKG_REV:=1189 PKG_VERSION:=0.12.6_r$(PKG_REV) -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=svn://rakshasa.no/libtorrent/trunk/libtorrent diff --git a/libs/libtorrent/patches/110-fix-no-posix_memalign.diff b/libs/libtorrent/patches/110-fix-no-posix_memalign.diff index e86dd01901..d0c1e43f3e 100644 --- a/libs/libtorrent/patches/110-fix-no-posix_memalign.diff +++ b/libs/libtorrent/patches/110-fix-no-posix_memalign.diff @@ -17,11 +17,11 @@ void construct (pointer p, const T& value) { new((void*)p)T(value); } void destroy (pointer p) { p->~T(); } -- void deallocate (pointer p, size_type num) { ::operator delete((void*)p); } +- void deallocate (pointer p, size_type num) { free((void*)p); } }; -@@ -98,6 +94,36 @@ bool operator!= (const cacheline_allocat +@@ -98,6 +94,36 @@ bool operator!= (const cacheline_allocator&, const cacheline_allocator&) return false; } -- 2.30.2