[package] fix libtorrent build failure (#6981)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20578 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2010-03-29 11:03:30 +00:00
parent c3bf7b30e9
commit 821e1e64c5
2 changed files with 12 additions and 1 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libtorrent
PKG_REV:=1130
PKG_VERSION:=0.12.6_r$(PKG_REV)
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

View File

@ -0,0 +1,11 @@
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 {