[packages] minidlna: Renumber and refresh patches
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Apr 2011 23:32:01 +0000 (23:32 +0000)
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Apr 2011 23:32:01 +0000 (23:32 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26530 3c298f89-4303-0410-b956-a3cf2f4a3e73

multimedia/minidlna/patches/003-missing-include.patch [deleted file]
multimedia/minidlna/patches/004-configuration-tweak.patch [deleted file]
multimedia/minidlna/patches/030-missing-include.patch [new file with mode: 0644]
multimedia/minidlna/patches/040-configuration-tweak.patch [new file with mode: 0644]

diff --git a/multimedia/minidlna/patches/003-missing-include.patch b/multimedia/minidlna/patches/003-missing-include.patch
deleted file mode 100644 (file)
index bbb6bbd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/minidlna.c
-+++ b/minidlna.c
-@@ -20,6 +20,7 @@
- #include <fcntl.h>
- #include <sys/file.h>
- #include <sys/time.h>
-+#include <sys/stat.h>
- #include <time.h>
- #include <signal.h>
- #include <sys/param.h>
diff --git a/multimedia/minidlna/patches/004-configuration-tweak.patch b/multimedia/minidlna/patches/004-configuration-tweak.patch
deleted file mode 100644 (file)
index e31624b..0000000
+++ /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 (file)
index 0000000..a1491ba
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/minidlna.c
++++ b/minidlna.c
+@@ -58,6 +58,7 @@
+ #include <fcntl.h>
+ #include <sys/file.h>
+ #include <sys/time.h>
++#include <sys/stat.h>
+ #include <time.h>
+ #include <signal.h>
+ #include <sys/param.h>
diff --git a/multimedia/minidlna/patches/040-configuration-tweak.patch b/multimedia/minidlna/patches/040-configuration-tweak.patch
new file mode 100644 (file)
index 0000000..cb46849
--- /dev/null
@@ -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