diff options
Diffstat (limited to 'meta-gnome/recipes-gimp/gimp/gimp/0002-meson.build-reproducibility-fix.patch')
-rw-r--r-- | meta-gnome/recipes-gimp/gimp/gimp/0002-meson.build-reproducibility-fix.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gimp/gimp/gimp/0002-meson.build-reproducibility-fix.patch b/meta-gnome/recipes-gimp/gimp/gimp/0002-meson.build-reproducibility-fix.patch new file mode 100644 index 0000000000..532715d588 --- /dev/null +++ b/meta-gnome/recipes-gimp/gimp/gimp/0002-meson.build-reproducibility-fix.patch | |||
@@ -0,0 +1,56 @@ | |||
1 | From bf19c5687703769e406a8086036d4ed6421c33cb Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Mon, 13 Jan 2025 10:04:33 +0100 | ||
4 | Subject: [PATCH] meson.build: reproducibility fix | ||
5 | |||
6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-specific] | ||
9 | --- | ||
10 | meson.build | 28 ++++++++++++++-------------- | ||
11 | 1 file changed, 14 insertions(+), 14 deletions(-) | ||
12 | |||
13 | diff --git a/meson.build b/meson.build | ||
14 | index 97cd621780..e47180db87 100644 | ||
15 | --- a/meson.build | ||
16 | +++ b/meson.build | ||
17 | @@ -1599,23 +1599,23 @@ conf.set('HAVE_FUNC_ATTRIBUTE_DESTRUCTOR', | ||
18 | conf.set_quoted('CC', cc.get_id()) | ||
19 | |||
20 | cc_version='' | ||
21 | -if cc.get_id() == 'gcc' or cc.get_id() == 'clang' | ||
22 | - cc_cmd = run_command(cc, '-v', check: false) | ||
23 | +#if cc.get_id() == 'gcc' or cc.get_id() == 'clang' | ||
24 | +# cc_cmd = run_command(cc, '-v', check: false) | ||
25 | # Note: the call might actually fail when using ccache. | ||
26 | # See: https://github.com/mesonbuild/meson/issues/6174 | ||
27 | - if cc_cmd.returncode() == 0 | ||
28 | - cc_version = cc_cmd.stdout() + cc_cmd.stderr() | ||
29 | - endif | ||
30 | -else | ||
31 | +# if cc_cmd.returncode() == 0 | ||
32 | +# cc_version = cc_cmd.stdout() + cc_cmd.stderr() | ||
33 | +# endif | ||
34 | +#else | ||
35 | # Various compilers have various options. Try most common ones. This | ||
36 | # list of options comes from autotools checks. | ||
37 | - foreach arg : [ '--version', '-v', '-V', '-qversion' ] | ||
38 | - cc_cmd = run_command(cc, arg, check: false) | ||
39 | - if cc_cmd.returncode() == 0 | ||
40 | - cc_version = cc_cmd.stdout() | ||
41 | - endif | ||
42 | - endforeach | ||
43 | -endif | ||
44 | +# foreach arg : [ '--version', '-v', '-V', '-qversion' ] | ||
45 | +# cc_cmd = run_command(cc, arg, check: false) | ||
46 | +# if cc_cmd.returncode() == 0 | ||
47 | +# cc_version = cc_cmd.stdout() | ||
48 | +# endif | ||
49 | +# endforeach | ||
50 | +#endif | ||
51 | if cc_version == '' | ||
52 | # We didn't manage to get a meaningful verbose version from the | ||
53 | # compiler. Just save its name and version. | ||
54 | -- | ||
55 | 2.47.1 | ||
56 | |||