summaryrefslogtreecommitdiff
path: root/media-gfx/gimp/files/gimp-2.10_fix_file-dicom-return-value.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-24 08:01:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-24 08:01:36 +0000
commit1cf3f23200484257eaf7d863e323e7e9aee98d2b (patch)
tree90c6263d1ca4d504601d8df05db598f5737b07ce /media-gfx/gimp/files/gimp-2.10_fix_file-dicom-return-value.patch
parent4583148f2657a7a66fd68b25c9fab02be110c989 (diff)
gentoo auto-resync : 24:12:2022 - 08:01:36
Diffstat (limited to 'media-gfx/gimp/files/gimp-2.10_fix_file-dicom-return-value.patch')
-rw-r--r--media-gfx/gimp/files/gimp-2.10_fix_file-dicom-return-value.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-gfx/gimp/files/gimp-2.10_fix_file-dicom-return-value.patch b/media-gfx/gimp/files/gimp-2.10_fix_file-dicom-return-value.patch
new file mode 100644
index 000000000000..8bc50cbcf18e
--- /dev/null
+++ b/media-gfx/gimp/files/gimp-2.10_fix_file-dicom-return-value.patch
@@ -0,0 +1,15 @@
+Issue: https://bugs.gentoo.org/875413
+Upstream issue: https://gitlab.gnome.org/GNOME/gimp/-/issues/8807
+Upstream patch: https://gitlab.gnome.org/GNOME/gimp/-/commit/543f9e37e69b4e57b5e44092542c95bb2052f047
+
+--- a/plug-ins/common/file-dicom.c
++++ b/plug-ins/common/file-dicom.c
+@@ -602,7 +602,7 @@ load_image (const gchar *filename,
+ (gchar *) value, samples_per_pixel);
+ g_free (dicominfo);
+ fclose (DICOM);
+- return NULL;
++ return -1;
+ }
+
+ break;