mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00: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_VERSION:=1.5.0
|
||||
PKG_RELEASE:=8
|
||||
PKG_RELEASE:=9
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/gerbera/gerbera/tar.gz/v$(PKG_VERSION)?
|
||||
|
||||
11
multimedia/gerbera/patches/050-npupnp-408.patch
Normal file
11
multimedia/gerbera/patches/050-npupnp-408.patch
Normal file
@@ -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