commit 25882518cff03d2760a68f22552a1aa7b80e2415
Author: Jan Rękorajski <[email protected]>
Date:   Sat Nov 2 13:32:56 2019 +0100

    - fix building with python 3.8
    - rel 3

 alsa-lib.spec    |  4 +++-
 python-3.8.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/alsa-lib.spec b/alsa-lib.spec
index bc9d799..4862a2d 100644
--- a/alsa-lib.spec
+++ b/alsa-lib.spec
@@ -14,7 +14,7 @@ Summary(ru.UTF-8):    Библиотека API для работы с драйве
 Summary(uk.UTF-8):     Бібліотека API для роботи з драйвером ALSA
 Name:          alsa-lib
 Version:       1.1.9
-Release:       2
+Release:       3
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
@@ -22,6 +22,7 @@ Source0:      
ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
 Source1:       %{name}-modprobe.conf
 Source2:       %{name}-asound.conf
 Source3:       smixer.conf
+Patch0:                python-3.8.patch
 URL:           http://www.alsa-project.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
@@ -195,6 +196,7 @@ Moduł wiązania Pythona dla interfejsu miksera architektury 
ALSA.
 
 %prep
 %setup -q
+%patch0 -p1
 cp -p %{SOURCE3} src/conf
 
 %build
diff --git a/python-3.8.patch b/python-3.8.patch
new file mode 100644
index 0000000..efde67a
--- /dev/null
+++ b/python-3.8.patch
@@ -0,0 +1,11 @@
+--- alsa-lib-1.1.9/configure.ac~       2019-05-10 08:57:21.000000000 +0200
++++ alsa-lib-1.1.9/configure.ac        2019-11-02 13:31:09.773236167 +0100
+@@ -423,7 +423,7 @@
+   pythonlibs0=
+   pythoninc0=
+   if test "$build_python2" != "yes"; then
+-    pythonlibs0=$(python3-config --libs)
++    pythonlibs0=$(python3-config --libs --embed)
+     pythoninc0=$(python3-config --includes)
+   fi
+   if test -z "$pythonlibs0"; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/alsa-lib.git/commitdiff/25882518cff03d2760a68f22552a1aa7b80e2415

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

Reply via email to