diff --git a/graphics/gimp/stable/Makefile b/graphics/gimp/stable/Makefile index e034afc4785..6ae893702cc 100644 --- a/graphics/gimp/stable/Makefile +++ b/graphics/gimp/stable/Makefile @@ -1,7 +1,7 @@ COMMENT= GNU Image Manipulation Program DISTNAME = gimp-2.10.32 -REVISION = 2 +REVISION = 3 PKGSPEC = gimp->=2,<2.99 .for i in gimp gimpbase gimpcolor gimpconfig gimpmath gimpmodule \ diff --git a/graphics/gimp/stable/patches/patch-plug-ins_common_file-dicom_c b/graphics/gimp/stable/patches/patch-plug-ins_common_file-dicom_c new file mode 100644 index 00000000000..470f4a2d817 --- /dev/null +++ b/graphics/gimp/stable/patches/patch-plug-ins_common_file-dicom_c @@ -0,0 +1,14 @@ +Fix return value. + +Index: plug-ins/common/file-dicom.c +--- plug-ins/common/file-dicom.c.orig ++++ 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;