summaryrefslogtreecommitdiffstats
path: root/graphics/ufraw/patches/0003-ufraw-0.22-fix_omp_definitions.patch
diff options
context:
space:
mode:
author Matteo Bernardini2021-04-10 17:02:43 +0200
committer Matteo Bernardini2021-04-10 17:02:43 +0200
commit97e000b8ce16626a160e2196627fb0c884dbcfbf (patch)
treec8bf51d3d2d2b60a4ca906996a8c17ed9cb3ffb9 /graphics/ufraw/patches/0003-ufraw-0.22-fix_omp_definitions.patch
parentcf65c072371dbcb73b7ea6d75de27bb6b96899f7 (diff)
downloadslackbuilds-97e000b8ce16626a160e2196627fb0c884dbcfbf.tar.gz
20210410.1 global branch merge.current-20210410.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/ufraw/patches/0003-ufraw-0.22-fix_omp_definitions.patch')
-rw-r--r--graphics/ufraw/patches/0003-ufraw-0.22-fix_omp_definitions.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/ufraw/patches/0003-ufraw-0.22-fix_omp_definitions.patch b/graphics/ufraw/patches/0003-ufraw-0.22-fix_omp_definitions.patch
new file mode 100644
index 0000000000..8b26ee3a3d
--- /dev/null
+++ b/graphics/ufraw/patches/0003-ufraw-0.22-fix_omp_definitions.patch
@@ -0,0 +1,32 @@
+--- a/dcraw_api.cc 2015-06-16 04:58:38.000000000 +0100
++++ b/dcraw_api.cc 2019-06-30 16:37:05.503409567 +0100
+@@ -689,3 +689,3 @@
+ #pragma omp parallel for schedule(static) default(none) \
+- shared(h,dark,rgbWB)
++ firstprivate(black,pixels) shared(h,dark,rgbWB)
+ #endif
+@@ -702,3 +702,3 @@
+ #pragma omp parallel for schedule(static) default(none) \
+- shared(h,dark,rgbWB)
++ firstprivate(black,pixels) shared(h,dark,rgbWB)
+ #endif
+--- a/dcraw_indi.c 2015-06-16 04:58:38.000000000 +0100
++++ b/dcraw_indi.c 2019-06-30 17:03:59.692710441 +0100
+@@ -140,2 +140,3 @@
+ default(none) \
++ firstprivate(iheight,iwidth,noise,threshold) \
+ shared(nc,image,size,noise) \
+@@ -145,2 +146,3 @@
+ default(none) \
++ firstprivate(iheight,iwidth,noise,threshold) \
+ shared(nc,image,size) \
+@@ -416,2 +418,3 @@
+ default(none) \
++ firstprivate(colors,filters,height,width) \
+ shared(image,code,prow,pcol,h) \
+@@ -502,3 +502,4 @@
+ default(none) \
+- shared(image,dir,diff) \
++ firstprivate(filters,height,width) \
++ shared(image,dir,diff) \
+ private(row,col,i,d,c,pix,guess)