diff options
author | mi <mi@FreeBSD.org> | 2012-05-10 05:34:02 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2012-05-10 05:34:02 +0800 |
commit | 3ec03c41433eec5d5f6b51bb905d5faa7ba93f48 (patch) | |
tree | 286d4ec87f33aeeb953725a59aff54aa40aa2552 /net/minidlna | |
parent | 8d02c182dbc4889dbda87c74bed276fdbb10f800 (diff) | |
download | freebsd-ports-gnome-3ec03c41433eec5d5f6b51bb905d5faa7ba93f48.tar.gz freebsd-ports-gnome-3ec03c41433eec5d5f6b51bb905d5faa7ba93f48.tar.zst freebsd-ports-gnome-3ec03c41433eec5d5f6b51bb905d5faa7ba93f48.zip |
Allow this FreeBSD7-only patch to apply before or after patch-warnings.
Notified by: pav@
Diffstat (limited to 'net/minidlna')
-rw-r--r-- | net/minidlna/files/scandir-patch | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/net/minidlna/files/scandir-patch b/net/minidlna/files/scandir-patch index eb3e8963d986..161c6063e5a2 100644 --- a/net/minidlna/files/scandir-patch +++ b/net/minidlna/files/scandir-patch @@ -1,36 +1,24 @@ --- scanner.c 17 Nov 2009 19:13:00 -0000 1.53 +++ scanner.c 9 Jan 2010 13:19:49 -0000 -@@ -629,7 +633,7 @@ - } - - static int +@@ -632,4 +636,4 @@ -filter_audio(const struct dirent *d) +filter_audio(struct dirent *d) { return ( (*d->d_name != '.') && ((d->d_type == DT_DIR) || -@@ -641,7 +645,7 @@ - } - - static int +@@ -644,4 +648,4 @@ -filter_video(const struct dirent *d) +filter_video(struct dirent *d) { return ( (*d->d_name != '.') && ((d->d_type == DT_DIR) || -@@ -653,7 +657,7 @@ - } - - static int +@@ -656,4 +660,4 @@ -filter_images(const struct dirent *d) +filter_images(struct dirent *d) { return ( (*d->d_name != '.') && ((d->d_type == DT_DIR) || -@@ -665,7 +669,7 @@ - } - - static int +@@ -668,4 +672,4 @@ -filter_media(const struct dirent *d) +filter_media(struct dirent *d) { |