]> git.pld-linux.org Git - packages/vigra.git/commitdiff
- fix boost_python detection, still doesn't build
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 20 Apr 2019 07:27:31 +0000 (09:27 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 20 Apr 2019 07:27:31 +0000 (09:27 +0200)
boost-python.patch [new file with mode: 0644]
vigra.spec

diff --git a/boost-python.patch b/boost-python.patch
new file mode 100644 (file)
index 0000000..bacb2bb
--- /dev/null
@@ -0,0 +1,10 @@
+--- vigra-1.11.1/config/FindVIGRANUMPY_DEPENDENCIES.cmake~     2019-04-20 09:15:42.000000000 +0200
++++ vigra-1.11.1/config/FindVIGRANUMPY_DEPENDENCIES.cmake      2019-04-20 09:24:48.026845853 +0200
+@@ -110,6 +110,7 @@
+         # (may or may not be thread-safe)
+         SET(BOOST_PYTHON_NAMES ${BOOST_PYTHON_NAMES}
+                 # Linux with multiple Python versions
++                boost_python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}
+                 boost_python-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}
+                 # Gentoo
+                 boost_python-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
index 4022e50193443830f2835cc0e2eb2412339f90e0..ca1fffa093dee8f857e09e336f3c056a8ed299bf 100644 (file)
@@ -10,6 +10,7 @@ Group:                Libraries
 Source0:       https://github.com/ukoethe/vigra/releases/download/Version-1-11-1/%{name}-%{version}-src.tar.gz
 # Source0-md5: e72faf9fb82fa71fa63ba064bb63b703
 Patch0:                python-install.patch
+Patch1:                boost-python.patch
 URL:           http://ukoethe.github.io/vigra/
 BuildRequires: OpenEXR-devel
 BuildRequires: boost-python-devel >= 1.40.0
@@ -109,6 +110,7 @@ Dokumentacja programisty do biblioteki vigra.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %cmake . \
This page took 0.104038 seconds and 4 git commands to generate.