commit 0796b277150aff32e462af9ecaab7fc42bc52c7f
Author: Jan Palus <[email protected]>
Date:   Tue Jun 15 15:47:41 2021 +0000

    fix missing symbol in static lib; rel 2
    
    see https://github.com/alsa-project/alsa-lib/issues/157

 alsa-lib.spec         |  4 +++-
 symbol_mismatch.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/alsa-lib.spec b/alsa-lib.spec
index 9c7afae..dd78972 100644
--- a/alsa-lib.spec
+++ b/alsa-lib.spec
@@ -16,7 +16,7 @@ Name:         alsa-lib
 Version:       1.2.5.1
 # alsa-*-conf tarballs are not released for each patch version
 %define        confver 1.2.5.1
-Release:       1
+Release:       2
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
@@ -28,6 +28,7 @@ Source4:      
ftp://ftp.alsa-project.org/pub/lib/alsa-topology-conf-%{confver}.tar.bz
 # Source4-md5: 066d6a980e09a2fa44b4cc1d06ecc0ea
 Source5:       
ftp://ftp.alsa-project.org/pub/lib/alsa-ucm-conf-%{confver}.tar.bz2
 # Source5-md5: 86ac831b4273c762196f8c1f67907c69
+Patch0:                symbol_mismatch.patch
 URL:           https://www.alsa-project.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
@@ -200,6 +201,7 @@ Moduł wiązania Pythona dla interfejsu miksera architektury 
ALSA.
 
 %prep
 %setup -q
+%patch0 -p1
 cp -p %{SOURCE3} src/conf
 
 %build
diff --git a/symbol_mismatch.patch b/symbol_mismatch.patch
new file mode 100644
index 0000000..35a30b6
--- /dev/null
+++ b/symbol_mismatch.patch
@@ -0,0 +1,11 @@
+--- alsa-lib-1.2.5.1/src/control/control_empty.c.orig  2021-06-15 
15:45:18.783814585 +0000
++++ alsa-lib-1.2.5.1/src/control/control_empty.c       2021-06-15 
15:45:29.317123597 +0000
+@@ -30,7 +30,7 @@
+ 
+ #ifndef PIC
+ /* entry for static linking */
+-const char *_snd_module_ctl_empty = "";
++const char *_snd_module_control_empty = "";
+ #endif
+ 
+ /*! \page control_plugins
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/alsa-lib.git/commitdiff/0796b277150aff32e462af9ecaab7fc42bc52c7f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to