[packages/libsbsms2] - up to 2.3.0
mrozowik
mrozowik at pld-linux.org
Tue Aug 3 01:08:21 CEST 2021
commit 084c15e932341b5f8f4eafb2968bded0a5901ede
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date: Mon Aug 2 23:04:26 2021 +0000
- up to 2.3.0
libsbsms-link.patch | 6 +++---
libsbsms-pthread.patch | 10 ++++++++++
libsbsms2.spec | 6 ++++--
3 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/libsbsms2.spec b/libsbsms2.spec
index fc9c0fa..96b67f8 100644
--- a/libsbsms2.spec
+++ b/libsbsms2.spec
@@ -8,16 +8,17 @@
Summary: C++ library for high quality time stretching and pitch scaling
Summary(pl.UTF-8): Biblioteka C++ do wysokiej jakości zmiany szybkości i wysokości dźwięku
Name: libsbsms2
-Version: 2.2.0
+Version: 2.3.0
Release: 1
License: GPL v2
Group: Libraries
#Source0Download: https://github.com/claytonotey/releases
Source0: https://github.com/claytonotey/libsbsms/archive/%{version}/libsbsms-%{version}.tar.gz
-# Source0-md5: 516b6d4dbd9f991c9e316cc6e0131f98
+# Source0-md5: 06df56b8c360af07ed57436fb02ec5dc
Patch0: libsbsms-opts.patch
Patch1: libsbsms-gcc.patch
Patch2: libsbsms-link.patch
+Patch3: libsbsms-pthread.patch
URL: https://github.com/claytonotey/libsbsms
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1.5
@@ -68,6 +69,7 @@ Statyczna biblioteka libsbsms 2.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%{__libtoolize}
diff --git a/libsbsms-link.patch b/libsbsms-link.patch
index 47c5fd6..216129a 100644
--- a/libsbsms-link.patch
+++ b/libsbsms-link.patch
@@ -1,10 +1,10 @@
---- libsbsms-2.0.2/src/Makefile.am.orig 2015-10-17 11:02:58.514398687 +0200
-+++ libsbsms-2.0.2/src/Makefile.am 2015-10-17 11:03:59.017730759 +0200
+--- libsbsms-2.3.0/src/Makefile.am~ 2021-08-01 21:45:00.000000000 +0000
++++ libsbsms-2.3.0/src/Makefile.am 2021-08-02 22:50:06.902343103 +0000
@@ -4,6 +4,7 @@
libsbsmsinclude_HEADERS = ../include/sbsms.h
lib_LTLIBRARIES = libsbsms.la
+libsbsms_la_LIBADD = -lpthread
+ libsbsms_la_LDFLAGS = -no-undefined
libsbsms_la_SOURCES = \
sms.cpp \
- track.cpp \
diff --git a/libsbsms-pthread.patch b/libsbsms-pthread.patch
new file mode 100644
index 0000000..db1fcdd
--- /dev/null
+++ b/libsbsms-pthread.patch
@@ -0,0 +1,10 @@
+--- libsbsms-2.3.0/src/sms.cpp~ 2021-08-01 21:45:00.000000000 +0000
++++ libsbsms-2.3.0/src/sms.cpp 2021-08-02 22:58:31.606803727 +0000
+@@ -4,6 +4,7 @@
+ #include "dBTable.h"
+ #include <stdlib.h>
+ #include <math.h>
++#include <pthread.h>
+ #include <set>
+ using namespace std;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libsbsms2.git/commitdiff/084c15e932341b5f8f4eafb2968bded0a5901ede
More information about the pld-cvs-commit
mailing list