gimp/fix-gcc14-build.patch
Dirk Stoecker c804d0fd2e Accepting request 1223644 from home:lkocman:branches:graphics
- Disable jpeg-xl support on SLES < 16.0 (SP6, SP7) 
  libjxl is only in Leap/PackageHUB but not in SLES.
  Leap gets gimp binary rpms from SLES.
  (helps to fix bsc#1233157)
- Re-adding dropped references compared to SLES 15 SP6 changelog
  CVE-2022-32990 CVE-2023-44441 CVE-2023-44442
  CVE-2023-44443 CVE-2023-44444
  bsc#1201192 bsc#1217160 bsc#1217161 bsc#1217162 bsc#1217163

OBS-URL: https://build.opensuse.org/request/show/1223644
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=73
2024-11-28 14:12:41 +00:00

27 lines
1.2 KiB
Diff

diff -ru orig/plug-ins/file-tiff/file-tiff-load.c mod/plug-ins/file-tiff/file-tiff-load.c
--- orig/plug-ins/file-tiff/file-tiff-load.c 2024-05-03 02:33:35.000000000 +0200
+++ mod/plug-ins/file-tiff/file-tiff-load.c 2024-05-21 13:18:49.443359344 +0200
@@ -1301,8 +1301,8 @@
/* any resolution info in the file? */
{
- gfloat xres = 72.0;
- gfloat yres = 72.0;
+ gdouble xres = 72.0;
+ gdouble yres = 72.0;
gushort read_unit;
GimpUnit unit = GIMP_UNIT_PIXEL; /* invalid unit */
diff -ru orig/plug-ins/metadata/metadata-editor.c mod/plug-ins/metadata/metadata-editor.c
--- orig/plug-ins/metadata/metadata-editor.c 2024-05-03 02:33:35.000000000 +0200
+++ mod/plug-ins/metadata/metadata-editor.c 2024-05-21 13:20:13.900525624 +0200
@@ -2140,7 +2140,7 @@
}
else
{
- if (! g_strv_contains (values, equiv_values[evi]))
+ if (! g_strv_contains ((const gchar * const*)values, equiv_values[evi]))
{
gchar *tmpvalue;