lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 4eee291cca60d81aa1d7a07fd056dafc9aaf931a
parent 49b6ba1129628f4509012dc5bfe5b772d0153c53
Author: Steven Barth <steven@midlink.org>
Date:   Tue, 31 Mar 2015 10:39:20 +0200

Merge pull request #1089 from obsy/master

transmission: fix build problem with fallocate64
Diffstat:
Mnet/transmission/Makefile | 2+-
Mnet/transmission/patches/010_libtransmission_fallocate64_eglibc.patch | 18++++++++++--------
2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/net/transmission/Makefile b/net/transmission/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=transmission PKG_VERSION:=2.84 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://download-origin.transmissionbt.com/files/ http://mirrors.m0k.org/transmission/files diff --git a/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch b/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch @@ -1,12 +1,14 @@ ---- a/libtransmission/fdlimit.c 2014-07-01 20:08:59.000000000 +0300 -+++ b/libtransmission/fdlimit.c 2014-07-13 13:30:17.000000000 +0300 -@@ -22,7 +22,8 @@ +--- a/libtransmission/fdlimit.c ++++ b/libtransmission/fdlimit.c +@@ -22,11 +22,6 @@ #include <fcntl.h> #endif - + -#ifdef HAVE_FALLOCATE64 -+/* no need to define fallocate64 in glibc/eglibc case */ -+#if defined(__UCLIBC__) && (HAVE_FALLOCATE64) - /* FIXME can't find the right #include voodoo to pick up the declaration.. */ - extern int fallocate64 (int fd, int mode, uint64_t offset, uint64_t len); +- /* FIXME can't find the right #include voodoo to pick up the declaration.. */ +- extern int fallocate64 (int fd, int mode, uint64_t offset, uint64_t len); +-#endif +- + #ifdef HAVE_XFS_XFS_H + #include <xfs/xfs.h> #endif