aboutsummaryrefslogtreecommitdiffstats
path: root/testing/minidlna/headers.patch
diff options
context:
space:
mode:
authorPeter Bui <pnutzh4x0r@gmail.com>2014-08-23 01:14:12 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-24 14:40:08 +0000
commitd805da6e2372c61ba946a2263f4c869a5d02ac37 (patch)
tree8ad8c70ac3aea20a85db219c6b5848f062742aab /testing/minidlna/headers.patch
parent893ab8a60ef2df17b23aba7d1b5dd92885ba16fe (diff)
downloadaports-d805da6e2372c61ba946a2263f4c869a5d02ac37.tar.bz2
aports-d805da6e2372c61ba946a2263f4c869a5d02ac37.tar.xz
testing/minidlna: fix headers and initd
- Added missing headers to a few files to fix compilation errors. - Ensure /var/run/minidlna is writable by M_GROUP and M_USER.
Diffstat (limited to 'testing/minidlna/headers.patch')
-rw-r--r--testing/minidlna/headers.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/minidlna/headers.patch b/testing/minidlna/headers.patch
new file mode 100644
index 0000000000..8e994dbf45
--- /dev/null
+++ b/testing/minidlna/headers.patch
@@ -0,0 +1,20 @@
+--- ./minissdp.c.orig 2014-08-23 00:40:46.218655070 +0500
++++ ./minissdp.c 2014-08-23 00:41:17.972176864 +0500
+@@ -41,6 +41,7 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <errno.h>
++#include <sys/time.h>
+
+ #include "minidlnapath.h"
+ #include "upnphttp.h"
+--- ./clients.h.orig 2014-08-23 00:39:47.001636613 +0500
++++ ./clients.h 2014-08-23 00:39:56.545026648 +0500
+@@ -2,6 +2,7 @@
+ #define __CLIENTS_H__
+ #include <stdint.h>
+ #include <netinet/in.h>
++#include <time.h>
+
+ #define CLIENT_CACHE_SLOTS 20
+