]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
fix djmount: add 0001-upnp_util.h-fix-build.patch
authorMarkham <markham001@gmx.de>
Wed, 8 Jun 2022 20:42:27 +0000 (22:42 +0200)
committerMarkham <markham001@gmx.de>
Wed, 8 Jun 2022 20:42:27 +0000 (22:42 +0200)
archive-patches/djmount/0001-upnp_util.h-fix-build.patch [new file with mode: 0755]
make/applications.mk

diff --git a/archive-patches/djmount/0001-upnp_util.h-fix-build.patch b/archive-patches/djmount/0001-upnp_util.h-fix-build.patch
new file mode 100755 (executable)
index 0000000..a4b6835
--- /dev/null
@@ -0,0 +1,46 @@
+From b5531b3126edd57764e5380bbc8d25980db78641 Mon Sep 17 00:00:00 2001
+From: Unknown User <unknown@unknown.user>
+Date: Wed, 8 Jun 2022 22:17:51 +0200
+Subject: [PATCH] upnp_util.h: fix build
+
+Signed-off-by: Thilo Graf <dbt@novatux.de>
+---
+ djmount/upnp_util.h | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/djmount/upnp_util.h b/djmount/upnp_util.h
+index 93b85eb..ba20287 100644
+--- a/djmount/upnp_util.h
++++ b/djmount/upnp_util.h
+@@ -26,7 +26,7 @@
+ #ifndef UPNP_UTIL_H_INCLUDED
+ #define UPNP_UTIL_H_INCLUDED
+-
++#include <upnp/upnp.h>
+ #include <upnp/upnptools.h>
+@@ -46,8 +46,8 @@ extern "C" {
+  *****************************************************************************/
+ char*
+ UpnpUtil_GetEventString (void* talloc_context,
+-                       IN Upnp_EventType eventType, 
+-                       IN const void* event);
++                       Upnp_EventType eventType,
++                       const void* event);
+ /*****************************************************************************
+@@ -55,7 +55,7 @@ UpnpUtil_GetEventString (void* talloc_context,
+  * @return    a static constant string, or NULL if unknown event type.
+  *****************************************************************************/
+ const char*
+-UpnpUtil_GetEventTypeString (IN Upnp_EventType e);
++UpnpUtil_GetEventTypeString (Upnp_EventType e);
+-- 
+2.35.1
+
index 53eb8f29acce63675276348190d58f3832bebea5..e097fa86c967feed775a0303539649abde105b9c 100755 (executable)
@@ -667,7 +667,8 @@ $(D)/motion: $(ARCHIVE)/motion-3.2.12.tar.gz | $(TARGETPREFIX)
        $(REMOVE)/motion-3.2.12
        $(TOUCH)
 
-DJMOUNT_PATCH = djmount-fixed-crash.patch
+DJMOUNT_PATCH  = 0001-upnp_util.h-fix-build.patch
+DJMOUNT_PATCH += djmount-fixed-crash.patch
 DJMOUNT_PATCH += djmount-fixed-crash-when-using-UTF-8-charset.patch
 DJMOUNT_PATCH += djmount-fix-hang-with-asset-upnp.patch
 DJMOUNT_PATCH += djmount-fix-incorrect-range-when-retrieving-content-via-HTTP.patch