djmount: use osxfuse

Closes Homebrew/homebrew#26045.

[jn: This software hasn't been updated since 2006, so sending patches
upstream is probably a futile exercise. In the interest of finishing the
move to osxfuse, I'm bending the rules.]

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Stefan 2014-01-20 06:35:25 +01:00 committed by Jack Nagel
parent a03e2e231e
commit b58795ab5c

View file

@ -7,7 +7,7 @@ class Djmount < Formula
depends_on 'pkg-config' => :build
depends_on 'libupnp'
depends_on 'fuse4x'
depends_on 'osxfuse'
def patches
{ :p0 => DATA }
@ -27,7 +27,7 @@ class Djmount < Formula
end
def caveats; <<-EOS.undent
Make sure to follow the directions given by `brew info fuse4x-kext`
Make sure to follow the directions given by `brew info osxfuse`
before trying to use a FUSE-based filesystem.
EOS
end
@ -101,3 +101,33 @@ diff -u -r configure configure
#
--- 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);