Argh, I am a disaster, the original attachments are wrong. Here you have
the correct ones!

Giovanni.
-- 
Giovanni Mascellani <g.mascell...@gmail.com>
Postdoc researcher - Université Libre de Bruxelles
From 4e04dd26bbcae06751eb6c4250835eb0a5013708 Mon Sep 17 00:00:00 2001
From: Giovanni Mascellani <g...@debian.org>
Date: Wed, 8 Jan 2020 11:17:48 +0100
Subject: [PATCH] Fix build with Boost 1.71.

---
 debian/patches/fix_boost | 17 +++++++++++++++++
 debian/patches/series    |  1 +
 2 files changed, 18 insertions(+)
 create mode 100644 debian/patches/fix_boost
 create mode 100644 debian/patches/series

diff --git a/debian/patches/fix_boost b/debian/patches/fix_boost
new file mode 100644
index 0000000..0c44320
--- /dev/null
+++ b/debian/patches/fix_boost
@@ -0,0 +1,17 @@
+Subject: Fix build with Boost 1.71.
+From: Giovanni Mascellani <g...@debian.org>
+
+CMake scripts search for a Boost component named "PYTHONXY", while
+they should search for "pythonXY".
+
+--- calamares-3.2.17.1.orig/CMakeModules/BoostPython3.cmake
++++ calamares-3.2.17.1/CMakeModules/BoostPython3.cmake
+@@ -37,7 +37,7 @@ macro( _find_boost_python3_int boost_ver
+         find_package( Boost ${boost_version} QUIET COMPONENTS ${_fbp_name} )
+         string( TOUPPER ${_fbp_name} _fbp_uc_name )
+         if( Boost_${_fbp_uc_name}_FOUND )
+-            set( ${found_var} ${_fbp_uc_name} )
++            set( ${found_var} ${_fbp_name} )
+             break()
+         endif()
+     endforeach()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..52c492b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_boost
-- 
2.25.0.rc1

Attachment: calamares.log.gz
Description: application/gzip

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to