]> git.pld-linux.org Git - packages/alsa-lib.git/commitdiff
fix missing symbol in static lib; rel 2 auto/th/alsa-lib-1.2.5.1-2
authorJan Palus <atler@pld-linux.org>
Tue, 15 Jun 2021 15:47:41 +0000 (15:47 +0000)
committerJan Palus <atler@pld-linux.org>
Tue, 15 Jun 2021 15:48:19 +0000 (15:48 +0000)
see https://github.com/alsa-project/alsa-lib/issues/157

alsa-lib.spec
symbol_mismatch.patch [new file with mode: 0644]

index 9c7afaeb2464a32ea923475d0e2131ff5ae9ea2d..dd789720bbbe1feb9fa2ee4bec0e0af86b331302 100644 (file)
@@ -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 (file)
index 0000000..35a30b6
--- /dev/null
@@ -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
This page took 0.140843 seconds and 4 git commands to generate.