From: acinonyx Date: Thu, 7 Apr 2011 23:32:01 +0000 (+0000) Subject: [packages] minidlna: Renumber and refresh patches X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=31f021bcfb8891ca4d105d12a8b529fdc0fd6904;p=packages.git [packages] minidlna: Renumber and refresh patches git-svn-id: svn://svn.openwrt.org/openwrt/packages@26530 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/multimedia/minidlna/patches/003-missing-include.patch b/multimedia/minidlna/patches/003-missing-include.patch deleted file mode 100644 index bbb6bbddf..000000000 --- a/multimedia/minidlna/patches/003-missing-include.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/minidlna.c -+++ b/minidlna.c -@@ -20,6 +20,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff --git a/multimedia/minidlna/patches/004-configuration-tweak.patch b/multimedia/minidlna/patches/004-configuration-tweak.patch deleted file mode 100644 index e31624b53..000000000 --- a/multimedia/minidlna/patches/004-configuration-tweak.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/minidlna.conf -+++ b/minidlna.conf -@@ -2,7 +2,7 @@ - port=8200 - - # network interface to bind to (this is the only interface that will serve files) --#network_interface=eth0 -+network_interface=br-lan - - # set this to the directory you want scanned. - # * if have multiple directories, you can have multiple media_dir= lines -@@ -11,10 +11,10 @@ - # + "A" for audio (eg. media_dir=A,/home/jmaggard/Music) - # + "V" for video (eg. media_dir=V,/home/jmaggard/Videos) - # + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures) --media_dir=/opt -+media_dir=/mnt - - # set this if you want to customize the name that shows up on your clients --#friendly_name=My DLNA Server -+friendly_name=My DLNA Server - - # set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache - #db_dir=/var/cache/minidlna -@@ -25,7 +25,7 @@ - - # set this to no to disable inotify monitoring to automatically discover new files - # note: the default is yes --inotify=yes -+inotify=no - - # set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO - enable_tivo=no diff --git a/multimedia/minidlna/patches/030-missing-include.patch b/multimedia/minidlna/patches/030-missing-include.patch new file mode 100644 index 000000000..a1491ba71 --- /dev/null +++ b/multimedia/minidlna/patches/030-missing-include.patch @@ -0,0 +1,10 @@ +--- a/minidlna.c ++++ b/minidlna.c +@@ -58,6 +58,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/multimedia/minidlna/patches/040-configuration-tweak.patch b/multimedia/minidlna/patches/040-configuration-tweak.patch new file mode 100644 index 000000000..cb4684972 --- /dev/null +++ b/multimedia/minidlna/patches/040-configuration-tweak.patch @@ -0,0 +1,33 @@ +--- a/minidlna.conf ++++ b/minidlna.conf +@@ -2,7 +2,7 @@ + port=8200 + + # network interface to bind to (this is the only interface that will serve files) +-#network_interface=eth0 ++network_interface=br-lan + + # set this to the directory you want scanned. + # * if have multiple directories, you can have multiple media_dir= lines +@@ -11,10 +11,10 @@ port=8200 + # + "A" for audio (eg. media_dir=A,/home/jmaggard/Music) + # + "V" for video (eg. media_dir=V,/home/jmaggard/Videos) + # + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures) +-media_dir=/opt ++media_dir=/mnt + + # set this if you want to customize the name that shows up on your clients +-#friendly_name=My DLNA Server ++friendly_name=My DLNA Server + + # set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache + #db_dir=/var/cache/minidlna +@@ -28,7 +28,7 @@ album_art_names=Cover.jpg/cover.jpg/Albu + + # set this to no to disable inotify monitoring to automatically discover new files + # note: the default is yes +-inotify=yes ++inotify=no + + # set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO + enable_tivo=no