1 Why is this patch needed? 2 3 --- libgimp/gimp.c.orig 2023-11-05 23:49:05 UTC 4 +++ libgimp/gimp.c 5 @@ -28,6 +28,7 @@ 6 #include <stdlib.h> 7 #include <string.h> 8 #include <sys/types.h> 9 +#include <floatingpoint.h> 10 11 #ifdef HAVE_SYS_TIME_H 12 #include <sys/time.h> 13 @@ -450,6 +451,9 @@ gimp_main (const GimpPlugInInfo *info, 14 gimp_env_init (TRUE); 15 16 progname = argv[ARG_PROGNAME]; 17 + 18 + /* Ignore floating point exceptions */ 19 + fpsetmask(0); 20 21 basename = g_path_get_basename (progname); 22 23