[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:
parent
c3bf7b30e9
commit
821e1e64c5
@ -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
|
||||
|
11
libs/libtorrent/patches/130-missing_inttypes.patch
Normal file
11
libs/libtorrent/patches/130-missing_inttypes.patch
Normal 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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user