[packages/oyranos] Started fixes

arekm arekm at pld-linux.org
Sun Aug 17 17:59:38 CEST 2025


commit 43f82b400c40c6e8598ec6952464dde8f602444a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Aug 17 17:59:33 2025 +0200

    Started fixes

 build.patch  | 11 +++++++++++
 oyranos.spec |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/oyranos.spec b/oyranos.spec
index 79b5182..a8613ec 100644
--- a/oyranos.spec
+++ b/oyranos.spec
@@ -19,6 +19,7 @@ Patch1:		%{name}-libraw.patch
 Patch2:		%{name}-exiv2.patch
 Patch3:		%{name}-elektra.patch
 Patch4:		%{name}-qt.patch
+Patch5:		build.patch
 # not working currently (Aug 2023)
 #URL:		http://www.oyranos.org/
 URL:		https://github.com/oyranos-cms/oyranos
@@ -216,6 +217,7 @@ Dokumentacja API bibliotek Oyranos.
 %patch -P2 -p1
 %patch -P3 -p1
 %patch -P4 -p1
+%patch -P5 -p1
 
 # no reason to package also qt4 variant; qt5 one is enough
 %{__sed} -i -e '/ADD_SUBDIRECTORY( qt4 )/d' src/tools/qcmsevents/CMakeLists.txt
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..32031e0
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,11 @@
+--- oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_oPNG.c~	2016-12-09 11:36:53.000000000 +0100
++++ oyranos-0.9.6/src/modules/color/modules/oyranos_cmm_oPNG.c	2025-08-17 17:52:37.550980156 +0200
+@@ -882,7 +882,7 @@ oyImage_s *  oyImage_FromPNG         ( c
+   {
+ #if defined(PNG_iCCP_SUPPORTED)
+     png_charp name = 0;
+-    png_charp profile = 0;
++    png_bytep profile = 0;
+     png_uint_32 proflen = 0;
+     int compression = 0;
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/oyranos.git/commitdiff/43f82b400c40c6e8598ec6952464dde8f602444a



More information about the pld-cvs-commit mailing list