]> git.pld-linux.org Git - packages/alsa-lib.git/commitdiff
- fix building with python 3.8 auto/th/alsa-lib-1.1.9-3
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Nov 2019 12:32:56 +0000 (13:32 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Nov 2019 12:32:56 +0000 (13:32 +0100)
- rel 3

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

index bc9d7995ae5cf3217edf3e36082da773cb1c5157..4862a2dc5def1629e0fa1d8960112a6078967163 100644 (file)
@@ -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 (file)
index 0000000..efde67a
--- /dev/null
@@ -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
This page took 0.061923 seconds and 4 git commands to generate.