summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2023-04-10 22:27:56 +0200
committerSam James <sam@gentoo.org>2023-04-26 05:03:01 +0100
commit7df4f2b8304e3339b32a1dbee1e96c915b2a57aa (patch)
treebc3c2dfc7927544ebb2057f42a6a8847b1602704 /sci-astronomy
parentsci-astronomy/sirilic: add 1.15.2 (diff)
downloadgentoo-7df4f2b8304e3339b32a1dbee1e96c915b2a57aa.tar.gz
gentoo-7df4f2b8304e3339b32a1dbee1e96c915b2a57aa.tar.bz2
gentoo-7df4f2b8304e3339b32a1dbee1e96c915b2a57aa.zip
sci-astronomy/siril: fix build without OpenMP
Closes: https://bugs.gentoo.org/903021 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/30545 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/siril/files/siril-1.2-openmp.patch30
1 files changed, 30 insertions, 0 deletions
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 <mario.haustein@hrz.tu-chemnitz.de>
+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
+