diff --git a/0001-fix-missing-bind_now.patch b/0001-fix-missing-bind_now.patch new file mode 100644 index 0000000..8c05b8a --- /dev/null +++ b/0001-fix-missing-bind_now.patch @@ -0,0 +1,25 @@ +From dcc6439b854a0e1728c1f0a8dc451c53621c61e6 Mon Sep 17 00:00:00 2001 +From: sunguoshuai +Date: Wed, 1 Sep 2021 17:01:28 +0800 +Subject: [PATCH] fix missing bind_now + +--- + src/makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/makefile b/src/makefile +index 886237f..c2715df 100644 +--- a/src/makefile ++++ b/src/makefile +@@ -15,7 +15,7 @@ INSTALL_BINARY_DIR = /usr/bin/ + + INCLUDES = -I. + LIBRARIES = -ldl -lm +-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC ++CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC -Wl,-z,now + CXXFLAGS = $(CFLAGS) + PLUGINS = ../plugins/amp.so \ + ../plugins/delay.so \ +-- +2.30.0 + diff --git a/ladspa.spec b/ladspa.spec index 77079c3..72f5eed 100644 --- a/ladspa.spec +++ b/ladspa.spec @@ -1,11 +1,12 @@ Name: ladspa Version: 1.13 -Release: 22 +Release: 23 Summary: Linux Audio Developer's Simple Plugin API (LADSPA) -License: LGPLv2+ +License: LGPLv2.1-only URL: http://www.ladspa.org/ Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz Patch0001: ladspa-1.13-plugindir.patch +Patch0002: 0001-fix-missing-bind_now.patch BuildRequires: perl-interpreter gcc-c++ %description @@ -50,5 +51,8 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf %changelog +* Wed Sep 1 2021 Zhengtang Gong - 1.13-23 +- add bind now + * Fri Nov 8 2019 Yiru Wang - 1.13-22 - Pakcage init