[packages/vigra] - fix boost_python detection, still doesn't build
baggins
baggins at pld-linux.org
Sat Apr 20 09:27:49 CEST 2019
commit e01a0b9df52b15c891fa6f7ea0e6b8a663bc2bc2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Apr 20 09:27:31 2019 +0200
- fix boost_python detection, still doesn't build
boost-python.patch | 10 ++++++++++
vigra.spec | 2 ++
2 files changed, 12 insertions(+)
---
diff --git a/vigra.spec b/vigra.spec
index 4022e50..ca1fffa 100644
--- a/vigra.spec
+++ b/vigra.spec
@@ -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 . \
diff --git a/boost-python.patch b/boost-python.patch
new file mode 100644
index 0000000..bacb2bb
--- /dev/null
+++ b/boost-python.patch
@@ -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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vigra.git/commitdiff/e01a0b9df52b15c891fa6f7ea0e6b8a663bc2bc2
More information about the pld-cvs-commit
mailing list