From 213c4f2eddfa5212b7aa1eea9dd4e2ae8e02a24e Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: May 05 2022 13:03:48 +0000 Subject: Fix include for std::mutex in init_fftw.h This fixes the build with Boost 1.78. --- diff --git a/253.patch b/253.patch new file mode 100644 index 0000000..125f977 --- /dev/null +++ b/253.patch @@ -0,0 +1,22 @@ +From ba73e38a3e1df6652150e98aec599faa281b1539 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Thu, 5 May 2022 09:00:15 -0400 +Subject: [PATCH] Fix include for std::mutex in init_fftw.h + +--- + src/Common/init_fftw.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Common/init_fftw.h b/src/Common/init_fftw.h +index 59de68f4..a4aad47f 100644 +--- a/src/Common/init_fftw.h ++++ b/src/Common/init_fftw.h +@@ -22,7 +22,7 @@ + #ifndef INIT_FFTW_H + #define INIT_FFTW_H + +-#include ++#include + + class FFTW_MUTEX { + public: diff --git a/luminance-hdr.spec b/luminance-hdr.spec index 9a14057..847f031 100644 --- a/luminance-hdr.spec +++ b/luminance-hdr.spec @@ -93,6 +93,12 @@ Patch: 0001-Update-help-tree-files-from-Scribus-SVN-24770.patch Patch: 0002-Fix-an-include-path-in-schelptreemodel.h.patch Patch: 0003-Comment-out-Q_OBJECT-in-ScHelpTreeModel-and-TreeMode.patch +# In 2.6.1.1, wrong include in src/Common/init_fftw.h +# https://github.com/LuminanceHDR/LuminanceHDR/issues/252 +# Fix include for std::mutex in init_fftw.h +# https://github.com/LuminanceHDR/LuminanceHDR/pull/253 +Patch: %{forgeurl}/pull/253.patch + BuildRequires: cmake # We choose to use the ninja backend instead of the make backend. Either works. BuildRequires: ninja-build