From b7d96a1381e6cd82aa717b34ff7270d6a230187b Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Fri, 24 Oct 2025 23:29:58 +0200 Subject: [PATCH] package/liblo: bump to version 0.34 Drop upstreamed local patch Release Notes: https://sourceforge.net/p/liblo/git/ci/master/tree/NEWS Signed-off-by: Giulio Benetti [Julien: reorder hashes in hash file] Signed-off-by: Julien Olivain --- ...-fix-build-failure-as-static-library.patch | 34 ------------------- package/liblo/liblo.hash | 8 ++--- package/liblo/liblo.mk | 2 +- 3 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 package/liblo/0001-server.c-fix-build-failure-as-static-library.patch diff --git a/package/liblo/0001-server.c-fix-build-failure-as-static-library.patch b/package/liblo/0001-server.c-fix-build-failure-as-static-library.patch deleted file mode 100644 index caeee536a0..0000000000 --- a/package/liblo/0001-server.c-fix-build-failure-as-static-library.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 74b228c74c7821dbe16d7730040030eed2f01a28 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Mon, 7 Jul 2025 22:58:10 +0200 -Subject: [PATCH] server.c: fix build failure as static library - -As static library strncpy() can't determine precise maximum characters -because strlen() is variable, so to fix build failure let's convert 3 -lines into one by using strdup() that does the same as the actual code. - -Upstream: https://sourceforge.net/p/liblo/patches/9/ -Signed-off-by: Giulio Benetti ---- - src/server.c | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git a/src/server.c b/src/server.c -index 130f6d5..1236279 100644 ---- a/src/server.c -+++ b/src/server.c -@@ -2062,10 +2062,7 @@ static void dispatch_method(lo_server s, const char *path, - char *tmp; - char *sec; - -- int tmplen = (int) strlen(it->path + len) + 1; -- tmp = (char*) malloc(strlen(it->path + len) + 1); -- strncpy(tmp, it->path + len, tmplen); -- tmp[tmplen-1]=0; -+ tmp = strdup(it->path + len); - sec = strchr(tmp, '/'); - if (sec) - *sec = '\0'; --- -2.39.5 - diff --git a/package/liblo/liblo.hash b/package/liblo/liblo.hash index a87b6233dd..cab192b421 100644 --- a/package/liblo/liblo.hash +++ b/package/liblo/liblo.hash @@ -1,7 +1,7 @@ -# From http://sourceforge.net/projects/liblo/files/liblo/0.32/ -sha1 e660cf3f630f9255a626102b4ff5082114ebd8a1 liblo-0.32.tar.gz -md5 a93a7a9da084e6a0937bde6fc324a52a liblo-0.32.tar.gz +# From http://sourceforge.net/projects/liblo/files/liblo/0.34/ +md5 14a65154e8f2609f558ce2648f1c99ef liblo-0.34.tar.gz +sha1 0bcc3f30a4cdd2f41fe6c20c48f92bcaeaa8e6bc liblo-0.34.tar.gz # Locally computed -sha256 5df05f2a0395fc5ac90f6b538b8c82bb21941406fd1a70a765c7336a47d70208 liblo-0.32.tar.gz +sha256 69aa0cd365dba5ea7799b850a7da659ad303e6074bbd67f4ab84e4d6f5f6c3a4 liblo-0.34.tar.gz sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/package/liblo/liblo.mk b/package/liblo/liblo.mk index c47e06c0a3..ab30feab81 100644 --- a/package/liblo/liblo.mk +++ b/package/liblo/liblo.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBLO_VERSION = 0.32 +LIBLO_VERSION = 0.34 LIBLO_SITE = http://downloads.sourceforge.net/project/liblo/liblo/$(LIBLO_VERSION) LIBLO_LICENSE = LGPL-2.1+