]> git.pld-linux.org Git - packages/libpst.git/commitdiff
- fix building with python 3.8 auto/th/libpst-0.6.72-4
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 16:36:36 +0000 (17:36 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 16:36:36 +0000 (17:36 +0100)
- rel 4

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

index 39866aa4d5b41366691d789a74af824b61fe04e0..f53b28946f411de75a37eed494984c8d8eece61a 100644 (file)
@@ -8,12 +8,13 @@ Summary:      Library for reading .pst files
 Summary(pl.UTF-8):     Biblioteka do czytania plików .pst
 Name:          libpst
 Version:       0.6.72
-Release:       3
+Release:       4
 License:       GPL v2+
 Group:         Libraries
 Source0:       https://www.five-ten-sg.com/libpst/packages/%{name}-%{version}.tar.gz
 # Source0-md5: 0085c9769a163e7ac59dba6518e0cc1e
 Patch0:                %{name}-link.patch
+Patch1:                python-3.8.patch
 URL:           https://www.five-ten-sg.com/libpst/
 BuildRequires: ImageMagick
 BuildRequires: autoconf >= 2.60
@@ -106,6 +107,7 @@ Wiązania libpst dla Pythona 3.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/python-3.8.patch b/python-3.8.patch
new file mode 100644 (file)
index 0000000..f0daa1d
--- /dev/null
@@ -0,0 +1,11 @@
+--- libpst-0.6.72/m4/ax_python.m4~     2018-08-01 17:15:48.000000000 +0200
++++ libpst-0.6.72/m4/ax_python.m4      2019-11-03 17:34:35.669416660 +0100
+@@ -55,7 +55,7 @@
+ AC_DEFUN([AX_PYTHON],
+ [AC_MSG_CHECKING(for python build information)
+ AC_MSG_RESULT([])
+-for python in python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
++for python in python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
+ AC_CHECK_PROGS(PYTHON_BIN, [$python])
+ ax_python_bin=$PYTHON_BIN
+ if test x$ax_python_bin != x; then
This page took 0.156811 seconds and 4 git commands to generate.