From 6a59e46beacc4c973725728564c478fd65abbcc1 Mon Sep 17 00:00:00 2001 From: obsy Date: Sat, 4 Jan 2014 17:03:21 +0000 Subject: [PATCH] [packages] transmision: fixup configure, fuzz while at it remove patch fuzz by refreshing patches fixes build warning: configure: WARNING: unrecognized options: --disable-gtk Signed-off-by: Dirk Neukirchen git-svn-id: svn://svn.openwrt.org/openwrt/packages@39199 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/transmission/Makefile | 4 ++-- .../patches/010_libtransmission_fallocate64_eglibc.patch | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/net/transmission/Makefile b/net/transmission/Makefile index e5a0a1156..7273207ba 100644 --- a/net/transmission/Makefile +++ b/net/transmission/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=transmission PKG_VERSION:=2.82 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://mirrors.m0k.org/transmission/files @@ -81,7 +81,7 @@ CONFIGURE_VARS += \ CONFIGURE_ARGS += \ --enable-daemon \ --enable-cli \ - --disable-gtk \ + --without-gtk \ --enable-largefile \ --enable-lightweight diff --git a/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch b/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch index 15ae51867..afadc2454 100644 --- a/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch +++ b/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch @@ -1,6 +1,5 @@ -diff -Naur transmission-2.61/libtransmission/fdlimit.c transmission-2.61-new/libtransmission/fdlimit.c ---- transmission-2.61/libtransmission/fdlimit.c 2012-07-24 04:59:03.429474697 +0300 -+++ transmission-2.61-new/libtransmission/fdlimit.c 2012-07-31 14:40:23.999860054 +0300 +--- a/libtransmission/fdlimit.c ++++ b/libtransmission/fdlimit.c @@ -25,7 +25,8 @@ #include #endif @@ -9,5 +8,5 @@ diff -Naur transmission-2.61/libtransmission/fdlimit.c transmission-2.61-new/lib +/* 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 ); + extern int fallocate64 (int fd, int mode, uint64_t offset, uint64_t len); #endif