mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
gerbera: fix compilation with newer npupnp
Macro got removed. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=gerbera
|
PKG_NAME:=gerbera
|
||||||
PKG_VERSION:=1.5.0
|
PKG_VERSION:=1.5.0
|
||||||
PKG_RELEASE:=8
|
PKG_RELEASE:=9
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/gerbera/gerbera/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/gerbera/gerbera/tar.gz/v$(PKG_VERSION)?
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/upnp_cds.cc
|
||||||
|
+++ b/src/upnp_cds.cc
|
||||||
|
@@ -83,7 +83,7 @@ void ContentDirectoryService::doBrowse(const std::unique_ptr<ActionRequest>& req
|
||||||
|
if (BrowseFlag == "BrowseDirectChildren")
|
||||||
|
flag |= BROWSE_DIRECT_CHILDREN;
|
||||||
|
else if (BrowseFlag != "BrowseMetadata")
|
||||||
|
- throw UpnpException(UPNP_SOAP_E_INVALID_ARGS,
|
||||||
|
+ throw UpnpException(UPNP_E_INVALID_ARGUMENT,
|
||||||
|
"invalid browse flag: " + BrowseFlag);
|
||||||
|
|
||||||
|
auto parent = storage->loadObject(objectID);
|
||||||
Reference in New Issue
Block a user