aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp3-app/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp3-app/files')
-rw-r--r--graphics/gimp3-app/files/patch-libgimp_gimp.c8
-rw-r--r--graphics/gimp3-app/files/patch-meson.build16
-rw-r--r--graphics/gimp3-app/files/patch-meson__options.txt8
3 files changed, 21 insertions, 11 deletions
diff --git a/graphics/gimp3-app/files/patch-libgimp_gimp.c b/graphics/gimp3-app/files/patch-libgimp_gimp.c
index 48799a6d0aec..43b3ba2e6f2b 100644
--- a/graphics/gimp3-app/files/patch-libgimp_gimp.c
+++ b/graphics/gimp3-app/files/patch-libgimp_gimp.c
@@ -1,20 +1,20 @@
---- libgimp/gimp.c.orig 2024-12-27 13:34:56 UTC
+--- libgimp/gimp.c.orig 2025-05-17 22:51:03 UTC
+++ libgimp/gimp.c
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
-+#include <floatingpoint.h>
++#include <fenv.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
-@@ -341,6 +342,9 @@ gimp_main (GType plug_in_type,
+@@ -348,6 +349,9 @@ gimp_main (GType plug_in_type,
gimp_env_init (TRUE);
progname = argv[ARG_PROGNAME];
+
+ /* Ignore floating point exceptions */
-+ fpsetmask(0);
++ fedisableexcept(FE_ALL_EXCEPT);
basename = g_path_get_basename (progname);
diff --git a/graphics/gimp3-app/files/patch-meson.build b/graphics/gimp3-app/files/patch-meson.build
index 7c786ab3116a..aaace2316a23 100644
--- a/graphics/gimp3-app/files/patch-meson.build
+++ b/graphics/gimp3-app/files/patch-meson.build
@@ -1,6 +1,16 @@
---- meson.build.orig 2025-05-17 22:51:03 UTC
+--- meson.build.orig 2025-10-05 17:14:02 UTC
+++ meson.build
-@@ -1208,7 +1208,7 @@ if have_lua
+@@ -168,7 +168,8 @@ platform_linux = (
+ message('Host os: ' + host_os)
+
+ platform_linux = (
+- host_os.contains('linux')
++ host_os.contains('linux') or
++ host_os.contains('bsd')
+ )
+
+ platform_windows = (
+@@ -1127,7 +1128,7 @@ if have_lua
if have_lua
have_lua_lgi = false
@@ -9,7 +19,7 @@
lua = find_program(lua_bin, required: false)
if lua.found() and meson.can_run_host_binaries()
-@@ -1247,7 +1247,7 @@ if have_lua
+@@ -1166,7 +1167,7 @@ if have_lua
if is_supported_lua
have_lua_lgi = run_command(lua, '-e',
'''
diff --git a/graphics/gimp3-app/files/patch-meson__options.txt b/graphics/gimp3-app/files/patch-meson__options.txt
index f8dcb9fffcdf..0a8931031e5b 100644
--- a/graphics/gimp3-app/files/patch-meson__options.txt
+++ b/graphics/gimp3-app/files/patch-meson__options.txt
@@ -1,6 +1,6 @@
---- meson_options.txt.orig 2025-03-19 00:53:29 UTC
+--- meson_options.txt.orig 2025-10-05 17:14:02 UTC
+++ meson_options.txt
-@@ -41,10 +41,10 @@ option('heif', type: 'feature', value: 'a
+@@ -42,10 +42,10 @@ option('heif', type: 'feature', value: 'a
option('ghostscript', type: 'feature', value: 'auto', description: 'Ghostscript support')
option('gudev', type: 'feature', value: 'auto', description: 'Gudev support')
option('heif', type: 'feature', value: 'auto', description: 'HEIF support')
@@ -13,12 +13,12 @@
option('openexr', type: 'feature', value: 'auto', description: 'Openexr support')
option('openmp', type: 'feature', value: 'auto', description: 'OpenMP support')
option('print', type: 'boolean', value: true, description: 'Print support')
-@@ -53,7 +53,7 @@ option('xpm', type: 'feature', value: 'a
+@@ -54,7 +54,7 @@ option('xpm', type: 'feature', value: 'a
option('wmf', type: 'feature', value: 'auto', description: 'Wmf support')
option('xcursor', type: 'feature', value: 'auto', description: 'Xcursor support')
option('xpm', type: 'feature', value: 'auto', description: 'XPM support')
-option('headless-tests', type: 'feature', value: 'auto', description: 'Use xvfb-run/dbus-run-session for UI-dependent automatic tests')
+option('headless-tests', type: 'feature', value: 'disabled', description: 'Use xvfb-run/dbus-run-session for UI-dependent automatic tests')
- option('file-plug-ins-test', type: 'boolean', value: 'false', description: 'Always install test-file-plug-ins (mostly for CI testing)')
+ option('file-plug-ins-test', type: 'boolean', value: false, description: 'Always install test-file-plug-ins (mostly for CI testing)')
option('can-crosscompile-gir', type: 'boolean', value: false, description: 'GIR is buildable even if crosscompiling')