ports/graphics/gimp-app/files/patch-libgimp_gimp.c
Dima Panov ba21ee1e0e
graphics/gimp-app: update to 2.10.36 release (+)
New features and improvements:
    * ASE and ACB palettes support
    * New Gradient: FG to Transparent (Hardedge)
    * GIF: non-square ratio support
    * More enhancements
Security and bug fixes:
    * Fixed Vulnerabilities
    * Broken Graphics Tablets with recent linuxwacom driver

Read more:	https://www.gimp.org/news/2023/11/07/gimp-2-10-36-released/
2024-02-13 19:53:19 +03:00

22 lines
486 B
C

Why is this patch needed?
--- libgimp/gimp.c.orig 2023-11-05 23:49:05 UTC
+++ libgimp/gimp.c
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
+#include <floatingpoint.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
@@ -450,6 +451,9 @@ gimp_main (const GimpPlugInInfo *info,
gimp_env_init (TRUE);
progname = argv[ARG_PROGNAME];
+
+ /* Ignore floating point exceptions */
+ fpsetmask(0);
basename = g_path_get_basename (progname);