--- /dev/null
+--- cinepaint/plug-ins/icc_examin/icc_examin/icc_cinepaint.cpp.orig 2007-11-29 10:55:21.000000000 +0100
++++ cinepaint/plug-ins/icc_examin/icc_examin/icc_cinepaint.cpp 2023-09-01 06:21:02.279247963 +0200
+@@ -59,7 +59,8 @@
+ #include <cstring>
+ #include <vector>
+
+-using namespace std;
++using std::cout;
++using std::max;
+
+
+ extern "C" {
--- /dev/null
+--- cinepaint/plug-ins/icc_examin/icc_examin/icc_profile_tags.cpp.orig 2016-12-09 23:50:43.000000000 +0100
++++ cinepaint/plug-ins/icc_examin/icc_examin/icc_profile_tags.cpp 2023-08-31 21:54:14.201770620 +0200
+@@ -349,12 +349,12 @@ ICCtag::getText (std
+ # ifdef DEBUG_ICCTAG
+ DBG_NUM_S ((int)strchr(txt, 13))
+ # endif
+- while (strchr(txt, 13) > 0) { // \r 013 0x0d
++ while (strchr(txt, 13) != NULL) { // \r 013 0x0d
+ pos = strchr(txt, 13);
+ # ifdef DEBUG_ICCTAG
+ //cout << (int)pos << " "; DBG
+ # endif
+- if (pos > 0) {
++ if (pos != NULL) {
+ if (*(pos+1) == '\n')
+ *pos = ' ';
+ else
Patch9: %{name}-python.patch
Patch10: %{name}-extern.patch
Patch11: %{name}-no-common.patch
+Patch12: %{name}-ptr.patch
+Patch13: %{name}-gcc.patch
URL: http://cinepaint.org/
BuildRequires: OpenEXR-devel >= 1.0.0
BuildRequires: autoconf
%patch9 -p1
%patch10 -p1
%patch11 -p1
+%patch12 -p1
+%patch13 -p1
# dead symlinks
%{__rm} config.guess config.sub py-compile