From fbd7c4540bb345d0fb901df302bb80704615fa55 Mon Sep 17 00:00:00 2001 From: Markham Date: Wed, 8 Jun 2022 22:42:27 +0200 Subject: [PATCH] fix djmount: add 0001-upnp_util.h-fix-build.patch --- .../djmount/0001-upnp_util.h-fix-build.patch | 46 +++++++++++++++++++ make/applications.mk | 3 +- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100755 archive-patches/djmount/0001-upnp_util.h-fix-build.patch 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 index 0000000..a4b6835 --- /dev/null +++ b/archive-patches/djmount/0001-upnp_util.h-fix-build.patch @@ -0,0 +1,46 @@ +From b5531b3126edd57764e5380bbc8d25980db78641 Mon Sep 17 00:00:00 2001 +From: Unknown User +Date: Wed, 8 Jun 2022 22:17:51 +0200 +Subject: [PATCH] upnp_util.h: fix build + +Signed-off-by: Thilo Graf +--- + 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 + #include + + +@@ -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 + diff --git a/make/applications.mk b/make/applications.mk index 53eb8f2..e097fa8 100755 --- a/make/applications.mk +++ b/make/applications.mk @@ -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 -- 2.39.5