]> git.pld-linux.org Git - packages/ka5-cantor.git/commitdiff
- fix building with python 3.8 auto/th/ka5-cantor-19.04.1-3
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 13:38:07 +0000 (14:38 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 13:38:07 +0000 (14:38 +0100)
- rel 3

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

index 5ee52019a18022406abf85c20246476ddd44af4d..c6695df2b128cb1fd642611b6c606e260637aaec 100644 (file)
 Summary:       Cantor
 Name:          ka5-%{kaname}
 Version:       19.04.1
-Release:       2
+Release:       3
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
 # Source0-md5: 0a2d78da9b7a785adeddd1094e9bbe67
+Patch0:                python-3.8.patch
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel
@@ -92,6 +93,7 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
 
 %prep
 %setup -q -n %{kaname}-%{version}
+%patch0 -p1
 
 %build
 install -d build
diff --git a/python-3.8.patch b/python-3.8.patch
new file mode 100644 (file)
index 0000000..2de8f0a
--- /dev/null
@@ -0,0 +1,11 @@
+--- cantor-19.04.1/cmake/FindPythonLibs3.cmake~        2019-05-02 22:14:10.000000000 +0200
++++ cantor-19.04.1/cmake/FindPythonLibs3.cmake 2019-11-03 14:34:28.109784898 +0100
+@@ -6,7 +6,7 @@
+   find_library(PYTHONLIBS3_LIBRARY NAMES python32 python33 python34 python35 python36 python37
+                HINTS ${PYTHONLIBS3_LIBDIR} ${PYTHONLIBS3_LIBRARY_DIRS} )
+ ELSE()
+-  find_library(PYTHONLIBS3_LIBRARY NAMES python3.2m python3.3m python3.4m python3.5m python3.6m python3.7m
++  find_library(PYTHONLIBS3_LIBRARY NAMES python3.2m python3.3m python3.4m python3.5m python3.6m python3.7m python3.8m python3.8
+                HINTS ${PYTHONLIBS3_LIBDIR} ${PYTHONLIBS3_LIBRARY_DIRS} )
+ ENDIF()
This page took 0.161382 seconds and 4 git commands to generate.