summaryrefslogtreecommitdiff
path: root/net/gupnp/patches/patch-libgupnp_gupnp-service.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/gupnp/patches/patch-libgupnp_gupnp-service.h')
-rw-r--r--net/gupnp/patches/patch-libgupnp_gupnp-service.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/gupnp/patches/patch-libgupnp_gupnp-service.h b/net/gupnp/patches/patch-libgupnp_gupnp-service.h
new file mode 100644
index 00000000000..424b93e794e
--- /dev/null
+++ b/net/gupnp/patches/patch-libgupnp_gupnp-service.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-libgupnp_gupnp-service.h,v 1.1 2014/06/24 06:10:54 dholland Exp $
+
+Fix build.
+
+--- libgupnp/gupnp-service.h~ 2014-05-29 12:47:53.000000000 +0000
++++ libgupnp/gupnp-service.h
+@@ -65,7 +65,10 @@ gupnp_service_action_get_type (void) G_G
+ #define GUPNP_TYPE_SERVICE_ACTION (gupnp_service_action_get_type ())
+
+ typedef struct _GUPnPServicePrivate GUPnPServicePrivate;
++#ifndef GUPNPSERVICE_DEFINED
++#define GUPNPSERVICE_DEFINED
+ typedef struct _GUPnPService GUPnPService;
++#endif
+ typedef struct _GUPnPServiceClass GUPnPServiceClass;
+
+ /**