summaryrefslogtreecommitdiff
path: root/filesystems/fuse-djmount/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-04-13 23:55:37 +0000
committerobache <obache@pkgsrc.org>2012-04-13 23:55:37 +0000
commit6248dc11a147a002cba6b8996978dfdb307c0bc6 (patch)
tree64b1b4fc36e7ed9f9ee198807477c134e9b94f20 /filesystems/fuse-djmount/patches
parentd79248b85ade2ac97d03b9f3755cb8c7f1873466 (diff)
downloadpkgsrc-6248dc11a147a002cba6b8996978dfdb307c0bc6.tar.gz
* fixes build with libupnp>=1.6.7
* bump PKGREVISION from libupnp shlib bump
Diffstat (limited to 'filesystems/fuse-djmount/patches')
-rw-r--r--filesystems/fuse-djmount/patches/patch-djmount_upnp__util.c17
-rw-r--r--filesystems/fuse-djmount/patches/patch-djmount_upnp__util.h35
2 files changed, 52 insertions, 0 deletions
diff --git a/filesystems/fuse-djmount/patches/patch-djmount_upnp__util.c b/filesystems/fuse-djmount/patches/patch-djmount_upnp__util.c
new file mode 100644
index 00000000000..c1fa62a147d
--- /dev/null
+++ b/filesystems/fuse-djmount/patches/patch-djmount_upnp__util.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-djmount_upnp__util.c,v 1.1 2012/04/13 23:55:37 obache Exp $
+
+* upnp header files will not include string.h anymore.
+
+--- djmount/upnp_util.c.orig 2006-08-27 20:12:20.000000000 +0000
++++ djmount/upnp_util.c
+@@ -28,6 +28,10 @@
+ # include <config.h>
+ #endif
+
++#ifdef HAVE_STRING_H
++# include <string.h>
++#endif
++
+ #include "upnp_util.h"
+ #include "log.h"
+ #include "xml_util.h"
diff --git a/filesystems/fuse-djmount/patches/patch-djmount_upnp__util.h b/filesystems/fuse-djmount/patches/patch-djmount_upnp__util.h
new file mode 100644
index 00000000000..17a8ed51fdf
--- /dev/null
+++ b/filesystems/fuse-djmount/patches/patch-djmount_upnp__util.h
@@ -0,0 +1,35 @@
+$NetBSD: patch-djmount_upnp__util.h,v 1.1 2012/04/13 23:55:37 obache Exp $
+
+* some definithins had been moved to upnp.h.
+* IN/OUT/INOUT in libupnp was deprecated.
+
+--- djmount/upnp_util.h.orig 2006-08-27 20:12:20.000000000 +0000
++++ djmount/upnp_util.h
+@@ -27,6 +27,7 @@
+ #define UPNP_UTIL_H_INCLUDED
+
+
++#include <upnp/upnp.h>
+ #include <upnp/upnptools.h>
+
+
+@@ -46,8 +47,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 +56,7 @@ UpnpUtil_GetEventString (void* talloc_co
+ * @return a static constant string, or NULL if unknown event type.
+ *****************************************************************************/
+ const char*
+-UpnpUtil_GetEventTypeString (IN Upnp_EventType e);
++UpnpUtil_GetEventTypeString (Upnp_EventType e);
+
+
+