commit: 7df4f2b8304e3339b32a1dbee1e96c915b2a57aa Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Mon Apr 10 20:27:56 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Apr 26 04:03:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7df4f2b8
sci-astronomy/siril: fix build without OpenMP Closes: https://bugs.gentoo.org/903021 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/30545 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-astronomy/siril/files/siril-1.2-openmp.patch | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/sci-astronomy/siril/files/siril-1.2-openmp.patch b/sci-astronomy/siril/files/siril-1.2-openmp.patch index eba90448f422..358bfaa79934 100644 --- a/sci-astronomy/siril/files/siril-1.2-openmp.patch +++ b/sci-astronomy/siril/files/siril-1.2-openmp.patch @@ -17,3 +17,33 @@ Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/482 float *rowpix, v1; double mean, stdev; float *differences; +From 59272d18d67dc342b1a040b7574b6b71b28310e6 Mon Sep 17 00:00:00 2001 +From: Mario Haustein <[email protected]> +Date: Mon, 10 Apr 2023 22:17:54 +0200 +Subject: [PATCH] Remove uneeded openmp headers +Bug: https://bugs.gentoo.org/903021 +Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/494 + +--- a/src/filters/nlbayes/LibImages.cpp ++++ b/src/filters/nlbayes/LibImages.cpp +@@ -26,7 +26,6 @@ + #include <unistd.h> + #include <stdlib.h> + #include <math.h> +-#include <omp.h> + + using namespace std; + +--- a/src/filters/nlbayes/Utilities.cpp ++++ b/src/filters/nlbayes/Utilities.cpp +@@ -20,7 +20,6 @@ + #include "Utilities.h" + + #include <math.h> +-#include <omp.h> + #include <iostream> + #include <stdlib.h> + #include <fstream> +-- +2.39.2 +
