From 621faa8772392d288f29eb3125f5d4a604628233 Mon Sep 17 00:00:00 2001 From: lemmi Date: Sun, 12 Mar 2023 08:31:19 +0100 Subject: [PATCH] libupnp: fix configure args for gerbera gerbera configure complains: ``` CMake Warning at CMakeLists.txt:405 (message): !! It is strongly recommended to build libupnp with --enable-reuseaddr !! Without this option Gerbera will be unable to restart with the same port number. CMake Warning at CMakeLists.txt:412 (message): !! It is strongly recommended to build libupnp with --disable-blocking-tcp-connections !! Without this option non-responsive control points can cause libupnp to hang. ``` These issues are indeed present with gerbera without these options. --- srcpkgs/libupnp/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libupnp/template b/srcpkgs/libupnp/template index 9e2da2d594c..bb6f91f9438 100644 --- a/srcpkgs/libupnp/template +++ b/srcpkgs/libupnp/template @@ -1,8 +1,9 @@ # Template file for 'libupnp' pkgname=libupnp version=1.14.12 -revision=1 +revision=2 build_style=gnu-configure +configure_args="--enable-reuseaddr --disable-blocking-tcp-connections" hostmakedepends="automake libtool pkg-config" short_desc="Portable Open Source UPnP Development Kit" maintainer="Orphaned "