From fed19e8c3ce589c2f0a06fa741a13cd1f4f747f2 Mon Sep 17 00:00:00 2001 From: Knyazkov Dmitry Date: Mon, 4 Aug 2014 22:34:04 +0400 Subject: [PATCH] That on tv phillips normally open mkv,it is necessary to apply this patch.Add license info Signed-off-by: Knyazkov Dmitry --- multimedia/minidlna/Makefile | 4 ++++ .../minidlna/patches/030-upnphttp-fixPhilips.patch | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 multimedia/minidlna/patches/030-upnphttp-fixPhilips.patch diff --git a/multimedia/minidlna/Makefile b/multimedia/minidlna/Makefile index 3812af485e..a4ab71d540 100644 --- a/multimedia/minidlna/Makefile +++ b/multimedia/minidlna/Makefile @@ -14,7 +14,11 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/minidlna PKG_MD5SUM:=879027192c89e5376cdd2ae2d1aa33b4 + PKG_MAINTAINER:=Knyazkov Dmitry + +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILE:=COPYING PKG_BUILD_PARALLEL:=0 PKG_BUILD_DEPENDS:=util-linux diff --git a/multimedia/minidlna/patches/030-upnphttp-fixPhilips.patch b/multimedia/minidlna/patches/030-upnphttp-fixPhilips.patch new file mode 100644 index 0000000000..8829bdc64a --- /dev/null +++ b/multimedia/minidlna/patches/030-upnphttp-fixPhilips.patch @@ -0,0 +1,12 @@ +--- a/upnphttp.c ++++ b/upnphttp.c +@@ -1259,7 +1259,7 @@ + int try_sendfile = 1; + #endif + +- while( offset < end_offset ) ++ while( offset <= end_offset ) + { + #if HAVE_SENDFILE + if( try_sendfile ) +