libshout: update to 2.4.5 14864/head
authorRosen Penev <rosenp@gmail.com>
Sun, 21 Feb 2021 05:35:10 +0000 (21:35 -0800)
committerRosen Penev <rosenp@gmail.com>
Tue, 23 Feb 2021 04:43:43 +0000 (20:43 -0800)
Remove upstreamed patch.

Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libshout/Makefile
libs/libshout/patches/130-usleep.patch [deleted file]

index 9445a2bbeb78bd89b1453d048ef7625a8c5e3753..e4f8fcd0f4cf6e951a29c8ceb126e46b5801df89 100644 (file)
@@ -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 <thess@kitschensync.net>
 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 (file)
index 28929d6..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/examples/nonblocking.c
-+++ b/examples/nonblocking.c
-@@ -6,6 +6,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <time.h>
- #include <unistd.h>
- #include <shout/shout.h>
-@@ -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);
-     }