ports/net/gupnp/files/patch-libgupnp-gupnp-service.h
Sunpoet Po-Chuan Hsieh 7a5d575848 - Update patch to avoid "error: redefinition of typedef"
- Bump PORTREVISION for package change
2014-05-28 05:10:06 +00:00

13 lines
471 B
C

--- libgupnp/gupnp-service.h.orig 2013-12-01 19:32:50.000000000 +0800
+++ libgupnp/gupnp-service.h 2014-05-28 13:01:03.041207000 +0800
@@ -65,7 +65,10 @@
#define GUPNP_TYPE_SERVICE_ACTION (gupnp_service_action_get_type ())
typedef struct _GUPnPServicePrivate GUPnPServicePrivate;
+#if !defined(__typedef_GUPnPService__)
+#define __typedef_GUPnPService__
typedef struct _GUPnPService GUPnPService;
+#endif
typedef struct _GUPnPServiceClass GUPnPServiceClass;
/**