From fb7a7c4a5a0f0b0f4be4416bdfce3cdcbf6c1f09 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 28 Nov 2010 18:02:13 +0000 Subject: [PATCH] [package] update rtorrent to r1189 This patch upgrades libtorrent and rtorrent to svn version 1189. Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net > SVN-Revision: 24174 --- net/rtorrent/Makefile | 4 ++-- net/rtorrent/patches/110-fix-no-posix_memalign.diff | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile index 456bbe4b50..6fb10db6fc 100644 --- a/net/rtorrent/Makefile +++ b/net/rtorrent/Makefile @@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rtorrent -PKG_REV:=1165 +PKG_REV:=1189 PKG_VERSION:=0.8.6_r$(PKG_REV) -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=svn://rakshasa.no/libtorrent/trunk/rtorrent diff --git a/net/rtorrent/patches/110-fix-no-posix_memalign.diff b/net/rtorrent/patches/110-fix-no-posix_memalign.diff index 104d931721..e4d374559d 100644 --- a/net/rtorrent/patches/110-fix-no-posix_memalign.diff +++ b/net/rtorrent/patches/110-fix-no-posix_memalign.diff @@ -1,3 +1,5 @@ +diff --git a/rak/allocators.h b/rak/allocators.h +index 0a1b711..2d7b98e 100644 --- a/rak/allocators.h +++ b/rak/allocators.h @@ -42,6 +42,7 @@ @@ -25,11 +27,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 +95,36 @@ bool operator!= (const cacheline_allocat +@@ -98,6 +95,36 @@ bool operator!= (const cacheline_allocator&, const cacheline_allocator&) return false; } -- 2.30.2