--- photivo-1144.gb50e555.orig/Sources/ptImage_EAW.cpp
+++ photivo-1144.gb50e555/Sources/ptImage_EAW.cpp
@@ -43,7 +43,7 @@
   const int st = step/2;
 
 #ifdef _OPENMP
-#pragma omp parallel for default(none) shared(weight_a,buf,height,width,st,step,l,wd) schedule(static)
+#pragma omp parallel for shared(weight_a,buf) schedule(static)
 #endif
   for(int j=0;j<height;j++)
   { // rows
@@ -66,7 +66,7 @@
     FREE2(tmp);
   }
 #ifdef _OPENMP
-#pragma omp parallel for default(none) shared(weight_a,buf,height,width,st,l,step,wd) schedule(static)
+#pragma omp parallel for shared(weight_a,buf) schedule(static)
 #endif
   for(int i=0;i<width;i++)
   { // cols
@@ -97,7 +97,7 @@
   const int wd = (int)(1 + (width>>(l-1)));
 
 #ifdef _OPENMP
-#pragma omp parallel for default(none) shared(weight_a,buf,height,width,st,l,step,wd) schedule(static)
+#pragma omp parallel for shared(weight_a,buf) schedule(static)
 #endif
   for(int i=0;i<width;i++)
   { //cols
@@ -119,7 +119,7 @@
     FREE2(tmp);
   }
 #ifdef _OPENMP
-#pragma omp parallel for default(none) shared(weight_a,buf,height,width,st,step,l,wd) schedule(static)
+#pragma omp parallel for shared(weight_a,buf) schedule(static)
 #endif
   for(int j=0;j<height;j++)
   { // rows
@@ -154,7 +154,7 @@
   const int st = step/2;
 
 #ifdef _OPENMP
-#pragma omp parallel for default(none) shared(weight_a,buf,height,width,st,step,l,wd) private(ch) schedule(static)
+#pragma omp parallel for shared(weight_a,buf) private(ch) schedule(static)
 #endif
   for(int j=0;j<height;j++)
   { // rows
@@ -177,7 +177,7 @@
     FREE2(tmp);
   }
 #ifdef _OPENMP
-#pragma omp parallel for default(none) shared(weight_a,buf,height,width,st,l,step,wd) private(ch) schedule(static)
+#pragma omp parallel for shared(weight_a,buf) private(ch) schedule(static)
 #endif
   for(int i=0;i<width;i++)
   { // cols
@@ -208,7 +208,7 @@
   const int wd = (int)(1 + (width>>(l-1)));
 
 #ifdef _OPENMP
-#pragma omp parallel for default(none) shared(weight_a,buf,height,width,st,step,l,wd) schedule(static)
+#pragma omp parallel for shared(weight_a,buf) schedule(static)
 #endif
   for(int i=0;i<width;i++)
   { //cols
@@ -230,7 +230,7 @@
     FREE2(tmp);
   }
 #ifdef _OPENMP
-#pragma omp parallel for default(none) shared(weight_a,buf,height,width,st,step,l,wd) schedule(static)
+#pragma omp parallel for shared(weight_a,buf) schedule(static)
 #endif
   for(int j=0;j<height;j++)
   { // rows
--- photivo-1144.gb50e555.orig/debian/changelog
+++ photivo-1144.gb50e555/debian/changelog
@@ -0,0 +1,41 @@
+photivo (1144.gb50e555-1) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Wed, 14 Feb 2024 14:50:08 +0000
+
+photivo (1144.gb50e555) stable; urgency=low
+
+  * Updated to recent version.
+
+ -- Sergey Salnikov <salsergey@gmail.com>  Sun, 04 Feb 2024 13:23:32 +0700
+
+photivo (1144.gb50e555) stable; urgency=low
+
+  * Updated to recent version.
+
+ -- Sergey Salnikov <salsergey@gmail.com>  Tue, 11 Jul 2023 16:34:18 +0700
+
+photivo (1140.gc9b0392) stable; urgency=low
+
+  * Updated to recent version.
+
+ -- Sergey Salnikov <salsergey@gmail.com>  Sat, 13 May 2023 16:05:15 +0700
+
+photivo (1131.g1ed2499) stable; urgency=low
+
+  * Use LibRaw instead of internal decoder.
+
+ -- Sergey Salnikov <salsergey@gmail.com>  Sun, 09 Aug 2020 22:44:14 +0700
+
+photivo (1117rev5d7d1cc4ef4d) stable; urgency=low
+
+  * Updated local patch
+
+ -- Sergey Salnikov <salsergey@gmail.com>  Mon, 02 Sep 2019 11:37:50 +0700
+
+photivo (1117rev5d7d1cc4ef4d) stable; urgency=low
+
+  * Initial debian build
+
+ -- Sergey Salnikov <salsergey@gmail.com>  Mon, 16 Oct 2017 06:18:29 +0700
--- photivo-1144.gb50e555.orig/debian/compat
+++ photivo-1144.gb50e555/debian/compat
@@ -0,0 +1 @@
+10
--- photivo-1144.gb50e555.orig/debian/control
+++ photivo-1144.gb50e555/debian/control
@@ -0,0 +1,20 @@
+Source: photivo
+Section: graphics
+Priority: extra
+Maintainer: Sergey Salnikov <salsergey@gmail.com>
+Build-Depends: debhelper (>= 4.1.16)
+Build-Depends-Indep: cmake, g++, liblqr-1-0-dev, qtbase5-dev, libjpeg-dev, libexiv2-dev, liblensfun-dev, libfftw3-dev, libpng12-dev | libpng-dev, libraw-dev, libtiff-dev | libtiff5-dev, libgimp2.0-dev, liblcms2-dev, libgraphicsmagick++1-dev
+
+Package: photivo
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Photivo is a RAW file processor
+ Photivo is a free and open source (GPL3) photo processor.  It handles your
+ RAW files as well as your bitmap files (TIFF, JPEG, BMP, PNG and many more)
+ in a non-destructive 16 bit processing pipe with gimp workflow integration
+ and batch mode.
+ Photivo tries to provide the best algorithms available; even if this implies
+ some redundancy.  So, to my knowledge, it offers the most flexible and
+ powerful denoise, sharpen and local contrast (fake HDR) algorithms in the
+ open source world.  (If not, let's port them ;-)) Although, to get the
+ desired results, there may be a quite steep learning curve.
--- photivo-1144.gb50e555.orig/debian/rules
+++ photivo-1144.gb50e555/debian/rules
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany
+# This file and all modifications and additions to the pristine package
+# are under the same license as the package itself.
+#
+# Please submit bugfixes or commens via http://bugs.opensuse.org
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+SHELL=/bin/bash
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+
+	cmake -DWITH_GIMP=ON -DCMAKE_INSTALL_PREFIX=/usr
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	make
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	make install DESTDIR=$(CURDIR)/debian/photivo
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-indep: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
