ports/net/gupnp/files/patch-libgupnp-gupnp-device.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
428 B
C

--- libgupnp/gupnp-device.h.orig 2013-12-01 19:32:50.000000000 +0800
+++ libgupnp/gupnp-device.h 2014-05-28 13:01:03.041207000 +0800
@@ -51,7 +51,10 @@
GUPnPDeviceClass))
typedef struct _GUPnPDevicePrivate GUPnPDevicePrivate;
+#if !defined(__typedef_GUPnPDevice__)
+#define __typedef_GUPnPDevice__
typedef struct _GUPnPDevice GUPnPDevice;
+#endif
typedef struct _GUPnPDeviceClass GUPnPDeviceClass;
/**