[packages/liblo] Up to 0.36
arekm
arekm at pld-linux.org
Thu Nov 26 09:10:47 CET 2026
commit 047fda6cceca5c3842bf26cfe7bf07a79b5e0127
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Nov 25 23:57:37 2026 +0100
Up to 0.36
liblo-strncpy.patch | 16 ----------------
liblo.spec | 6 ++----
2 files changed, 2 insertions(+), 20 deletions(-)
---
diff --git a/liblo.spec b/liblo.spec
index edce6eb..85771bd 100644
--- a/liblo.spec
+++ b/liblo.spec
@@ -5,13 +5,12 @@
Summary: Open Sound Control library
Summary(pl.UTF-8): Biblioteka Open Sound Control
Name: liblo
-Version: 0.32
+Version: 0.36
Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: https://downloads.sourceforge.net/liblo/%{name}-%{version}.tar.gz
-# Source0-md5: a93a7a9da084e6a0937bde6fc324a52a
-Patch0: %{name}-strncpy.patch
+# Source0-md5: bc160dfb3d114beba548e30da4db9317
URL: https://liblo.sourceforge.net/
BuildRequires: autoconf >= 2.69
BuildRequires: automake
@@ -66,7 +65,6 @@ Dokumentacja API biblioteki liblo.
%prep
%setup -q
-%patch -P0 -p1
%build
%{__libtoolize}
diff --git a/liblo-strncpy.patch b/liblo-strncpy.patch
deleted file mode 100644
index 5f6c844..0000000
--- a/liblo-strncpy.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-tmp buffer size is allocated so that it holds whole string (and nothing more)
-so we can simplify code and avoid gcc stringop-overflow warning
---- liblo-0.32/src/server.c.orig 2024-02-16 22:51:21.000000000 +0100
-+++ liblo-0.32/src/server.c 2024-02-19 18:39:35.889219149 +0100
-@@ -2063,9 +2063,8 @@ static void dispatch_method(lo_server s,
- 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 = (char*) malloc(tmplen);
-+ strcpy(tmp, it->path + len);
- sec = strchr(tmp, '/');
- if (sec)
- *sec = '\0';
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/liblo.git/commitdiff/047fda6cceca5c3842bf26cfe7bf07a79b5e0127
More information about the pld-cvs-commit
mailing list