Fix build after the gupnp-av update.

reported by naddy@
This commit is contained in:
ajacoutot 2016-10-13 15:52:13 +00:00
parent 134c0f7d6b
commit 5866097f11
2 changed files with 18 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2015/05/11 21:20:54 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2016/10/13 15:52:13 ajacoutot Exp $
COMMENT= service for interacting with DMSes
DISTNAME= dleyna-server-0.5.0
REVISION= 0
REVISION= 1
SHARED_LIBS += dleyna-server-1.0 0.0 # 1.3
@ -17,6 +17,7 @@ FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/dleyna-server
WANTLIB += c dleyna-core-1.0 ffi gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gssdp-1.0 gupnp-1.0 gupnp-av-1.0 gupnp-dlna-2.0
WANTLIB += lzma m pcre pthread soup-2.4 sqlite3 xml2 z
WANTLIB += iconv intl lzma m pcre pthread soup-2.4 sqlite3 xml2
WANTLIB += z
.include <bsd.port.mk>

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-libdleyna_server_upnp_h,v 1.1 2016/10/13 15:52:13 ajacoutot Exp $
Fix build with gupnp-av >=0.12.9
--- libdleyna/server/upnp.h.orig Thu Oct 13 17:41:37 2016
+++ libdleyna/server/upnp.h Thu Oct 13 17:41:26 2016
@@ -23,6 +23,7 @@
#ifndef DLS_UPNP_H__
#define DLS_UPNP_H__
+#include <libgupnp/gupnp-context-manager.h>
#include <libdleyna/core/connector.h>
#include "client.h"