silence a warning
This commit is contained in:
parent
d7439da607
commit
55a25dc67b
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2011/07/05 17:14:30 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2011/07/05 17:27:15 jasper Exp $
|
||||
|
||||
COMMENT= framework for creating UPnP devices and control points
|
||||
|
||||
GNOME_PROJECT= gupnp
|
||||
GNOME_VERSION= 0.16.1
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
SHARED_LIBS += gupnp-1.0 0.0 # 3.0
|
||||
|
||||
@ -26,8 +26,7 @@ AUTOCONF_VERSION= 2.68
|
||||
CONFIGURE_STYLE= autoconf
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||||
--disable-gtk-doc \
|
||||
--enable-introspection
|
||||
# Requires libconic
|
||||
# --with-context-manager=unix
|
||||
--enable-introspection \
|
||||
--with-context-manager=unix
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-libgupnp_gupnp-unix-context-manager_c,v 1.1 2011/07/05 17:27:15 jasper Exp $
|
||||
|
||||
Fix a warning:
|
||||
/usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside parameter list
|
||||
/usr/include/arpa/inet.h:74: warning: its scope is only this definition or declaration,
|
||||
which is probably not what you want
|
||||
|
||||
--- libgupnp/gupnp-unix-context-manager.c.orig Tue Jul 5 19:21:59 2011
|
||||
+++ libgupnp/gupnp-unix-context-manager.c Tue Jul 5 19:22:58 2011
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <net/if.h>
|
||||
#include <ifaddrs.h>
|
Loading…
Reference in New Issue
Block a user