From 91c10fcc7ed74556da60d13c3e7907b99f0e8d22 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Tue, 22 Apr 2025 20:28:27 +0200 Subject: [PATCH] media-gfx/exact-image: remove unused patches Signed-off-by: Michael Mair-Keimberger Signed-off-by: Alfredo Tupone --- .../files/exact-image-1.0.2-dcraw.patch | 26 -------- .../files/exact-image-1.0.2-gcc6.patch | 64 ------------------- 2 files changed, 90 deletions(-) delete mode 100644 media-gfx/exact-image/files/exact-image-1.0.2-dcraw.patch delete mode 100644 media-gfx/exact-image/files/exact-image-1.0.2-gcc6.patch diff --git a/media-gfx/exact-image/files/exact-image-1.0.2-dcraw.patch b/media-gfx/exact-image/files/exact-image-1.0.2-dcraw.patch deleted file mode 100644 index f617087de6a9f..0000000000000 --- a/media-gfx/exact-image/files/exact-image-1.0.2-dcraw.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/codecs/dcraw.h 2020-09-10 08:42:19.905105346 +0200 -+++ b/codecs/dcraw.h 2020-09-10 08:47:50.826316874 +0200 -@@ -96,6 +96,14 @@ - #define ushort unsigned short - #endif - -+#undef SEEK_SET -+#undef SEEK_CUR -+#undef SEEK_END -+ -+#define SEEK_SET std::ios::beg -+#define SEEK_CUR std::ios::cur -+#define SEEK_END std::ios::end -+ - namespace dcraw { - - /* -@@ -9964,7 +9956,7 @@ - strncpy (th->desc, desc, 512); - strncpy (th->make, make, 64); - strncpy (th->model, model, 64); -- strcpy (th->soft, "dcraw v"DCRAW_VERSION); -+ strcpy (th->soft, "dcraw v" DCRAW_VERSION); - t = localtime (×tamp); - sprintf (th->date, "%04d:%02d:%02d %02d:%02d:%02d", - t->tm_year+1900,t->tm_mon+1,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec); diff --git a/media-gfx/exact-image/files/exact-image-1.0.2-gcc6.patch b/media-gfx/exact-image/files/exact-image-1.0.2-gcc6.patch deleted file mode 100644 index 10fb38d6d6581..0000000000000 --- a/media-gfx/exact-image/files/exact-image-1.0.2-gcc6.patch +++ /dev/null @@ -1,64 +0,0 @@ -Bug: https://bugs.gentoo.org/600380 - ---- a/bardecode/code25i.hh -+++ b/bardecode/code25i.hh -@@ -21,6 +21,12 @@ - - #include "scanner_utils.hh" - -+#if __cplusplus >= 201103L -+#define STATIC_CONST_DOUBLE static constexpr double -+#else -+#define STATIC_CONST_DOUBLE static const double -+#endif -+ - namespace BarDecode - { - struct code25i_t -@@ -31,11 +37,11 @@ - static const int END_SEQUENCE = 0xD; - static const char no_entry = 0; - -- static const double n_lq = 15; -- static const double n_hq = 5.3; -- static const double w_lq = 5.2; -- static const double w_hq = 1.5; -- static const double tol = 0.2; -+ STATIC_CONST_DOUBLE n_lq = 15; -+ STATIC_CONST_DOUBLE n_hq = 5.3; -+ STATIC_CONST_DOUBLE w_lq = 5.2; -+ STATIC_CONST_DOUBLE w_hq = 1.5; -+ STATIC_CONST_DOUBLE tol = 0.2; - - static const usize_t min_quiet_usize = 5; - //static const usize_t min_quiet_usize = 10; ---- a/codecs/dcraw.h -+++ b/codecs/dcraw.h -@@ -3958,22 +3958,22 @@ - -2,+0,+0,-1,0,0x06, -2,+0,+0,+0,1,0x02, -2,+0,+0,+1,0,0x03, - -2,+1,-1,+0,0,0x04, -2,+1,+0,-1,1,0x04, -2,+1,+0,+0,0,0x06, - -2,+1,+0,+1,0,0x02, -2,+2,+0,+0,1,0x04, -2,+2,+0,+1,0,0x04, -- -1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01, -- -1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40, -+ -1,-2,-1,+0,0,(signed char) 0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01, -+ -1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,(signed char) 0x88, -1,-1,+1,-2,0,0x40, - -1,-1,+1,-1,0,0x22, -1,-1,+1,+0,0,0x33, -1,-1,+1,+1,1,0x11, - -1,+0,-1,+2,0,0x08, -1,+0,+0,-1,0,0x44, -1,+0,+0,+1,0,0x11, - -1,+0,+1,-2,1,0x40, -1,+0,+1,-1,0,0x66, -1,+0,+1,+0,1,0x22, - -1,+0,+1,+1,0,0x33, -1,+0,+1,+2,1,0x10, -1,+1,+1,-1,1,0x44, - -1,+1,+1,+0,0,0x66, -1,+1,+1,+1,0,0x22, -1,+1,+1,+2,0,0x10, - -1,+2,+0,+1,0,0x04, -1,+2,+1,+0,1,0x04, -1,+2,+1,+1,0,0x04, -- +0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40, -+ +0,-2,+0,+0,1,(signed char) 0x80, +0,-1,+0,+1,1,(signed char) 0x88, +0,-1,+1,-2,0,0x40, - +0,-1,+1,+0,0,0x11, +0,-1,+2,-2,0,0x40, +0,-1,+2,-1,0,0x20, - +0,-1,+2,+0,0,0x30, +0,-1,+2,+1,1,0x10, +0,+0,+0,+2,1,0x08, - +0,+0,+2,-2,1,0x40, +0,+0,+2,-1,0,0x60, +0,+0,+2,+0,1,0x20, - +0,+0,+2,+1,0,0x30, +0,+0,+2,+2,1,0x10, +0,+1,+1,+0,0,0x44, - +0,+1,+1,+2,0,0x10, +0,+1,+2,-1,1,0x40, +0,+1,+2,+0,0,0x60, -- +0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80, -- +1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40, -+ +0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,(signed char) 0x80, -+ +1,-1,+1,+1,0,(signed char) 0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40, - +1,+0,+2,+1,0,0x10 - }, chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 }; - ushort (*brow[5])[4], *pix;