From 500bed5935289e8c45e61e8b183f8420db2b565e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 20 Feb 2021 21:35:10 -0800 Subject: [PATCH] libshout: update to 2.4.5 Remove upstreamed patch. Switch to AUTORELEASE for simplicity. Signed-off-by: Rosen Penev --- libs/libshout/Makefile | 6 +++--- libs/libshout/patches/130-usleep.patch | 22 ---------------------- 2 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 libs/libshout/patches/130-usleep.patch diff --git a/libs/libshout/Makefile b/libs/libshout/Makefile index 9445a2bbe..e4f8fcd0f 100644 --- a/libs/libshout/Makefile +++ b/libs/libshout/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libshout -PKG_VERSION:=2.4.4 -PKG_RELEASE:=1 +PKG_VERSION:=2.4.5 +PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.us.xiph.org/releases/libshout/ -PKG_HASH:=8ce90c5d05e7ad1da4c12f185837e8a867c22df2d557b0125afaba4b1438e6c3 +PKG_HASH:=d9e568668a673994ebe3f1eb5f2bee06e3236a5db92b8d0c487e1c0f886a6890 PKG_MAINTAINER:=Ted Hess PKG_LICENSE:=LGPL-2.1-or-later diff --git a/libs/libshout/patches/130-usleep.patch b/libs/libshout/patches/130-usleep.patch deleted file mode 100644 index 28929d6c6..000000000 --- a/libs/libshout/patches/130-usleep.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/examples/nonblocking.c -+++ b/examples/nonblocking.c -@@ -6,6 +6,7 @@ - #include - #include - #include -+#include - #include - - #include -@@ -70,8 +71,10 @@ int main() - if (ret == SHOUTERR_BUSY) - printf("Connection pending...\n"); - -+ const struct timespec req = {0, 10 * 1000 * 1000}; -+ struct timespec rem; - while (ret == SHOUTERR_BUSY) { -- usleep(10000); -+ nanosleep(&req, &rem); - ret = shout_get_connected(shout); - } -