liblo: update to 0.34

Fixes compilation with newer CMake.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2025-11-20 20:04:12 -08:00
committed by Hannu Nyman
parent bdadcb58ce
commit d97294e7af
3 changed files with 3 additions and 38 deletions

View File

@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=liblo PKG_NAME:=liblo
PKG_VERSION:=0.31 PKG_VERSION:=0.34
PKG_RELEASE:=2 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/liblo PKG_SOURCE_URL:=@SF/liblo
PKG_HASH:=2b4f446e1220dcd624ecd8405248b08b7601e9a0d87a0b94730c2907dbccc750 PKG_HASH:=69aa0cd365dba5ea7799b850a7da659ad303e6074bbd67f4ab84e4d6f5f6c3a4
PKG_MAINTAINER:= PKG_MAINTAINER:=
PKG_LICENSE:=LGPL-2.1-or-later PKG_LICENSE:=LGPL-2.1-or-later

View File

@@ -1,15 +0,0 @@
--- a/src/server.c
+++ b/src/server.c
@@ -2013,11 +2013,8 @@ static void dispatch_method(lo_server s,
tmp = (char*) malloc(strlen(it->path + len) + 1);
strcpy(tmp, it->path + len);
-#if defined(WIN32) || defined(_MSC_VER)
sec = strchr(tmp, '/');
-#else
- sec = index(tmp, '/');
-#endif
+
if (sec)
*sec = '\0';
slend = sl;

View File

@@ -1,20 +0,0 @@
--- a/src/tools/oscsendfile.c
+++ b/src/tools/oscsendfile.c
@@ -354,7 +354,7 @@ int send_file(lo_address target, double
lo_timetag_now(&tt_now);
double wait_time = timetag_diff(*tt_last, tt_now);
if (wait_time > 0.) {
- usleep(wait_time * 1000000);
+ sleep(wait_time);
}
if (b) {
ret = lo_send_bundle(target, b);
@@ -376,7 +376,7 @@ int send_file(lo_address target, double
lo_timetag_now(&tt_now);
double wait_time = timetag_diff(*tt_last, tt_now);
if (wait_time > 0.) {
- usleep(wait_time * 1000000);
+ sleep(wait_time);
}
lo_send_bundle(target, b);
}