That on tv phillips normally open mkv,it is necessary to apply this patch.Add license...
authorKnyazkov Dmitry <redacted>
Mon, 4 Aug 2014 18:34:04 +0000 (22:34 +0400)
committerKnyazkov Dmitry <redacted>
Mon, 4 Aug 2014 18:34:04 +0000 (22:34 +0400)
Signed-off-by: Knyazkov Dmitry <redacted>
multimedia/minidlna/Makefile
multimedia/minidlna/patches/030-upnphttp-fixPhilips.patch [new file with mode: 0644]

index 3812af485e0184d2da543293c82f92da013d8011..a4ab71d540a9caab748ddd657babebedbcc6a380 100644 (file)
@@ -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 <medavedik@gmail.com>
+
+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 (file)
index 0000000..8829bdc
--- /dev/null
@@ -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 )
+
git clone https://git.99rst.org/PROJECT