diff options
author | Alexander Kanavin <alex@linutronix.de> | 2024-05-16 13:26:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-28 09:38:23 +0100 |
commit | 13fadb36f6686e2c83e8e83180054b1b4bd9f9fd (patch) | |
tree | 51aeddccc9a65aca105c25dbf99f1aab1e42142b | |
parent | 86a297c631f21e497fc06decb7d8150d8b9d527f (diff) | |
download | poky-13fadb36f6686e2c83e8e83180054b1b4bd9f9fd.tar.gz |
glib-2.0: remove obsolete 0001-Set-host_machine-correctly-when-building-with-mingw3.patch
This as well has been solved via
https://git.yoctoproject.org/poky/commit/?id=f6a35934540e910794b8729ecc278189a39b710f
(From OE-Core rev: a140f108eca447ea708bad80ece953adb2d6aa78)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/glib-2.0/files/0001-Set-host_machine-correctly-when-building-with-mingw3.patch | 80 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 1 |
2 files changed, 0 insertions, 81 deletions
diff --git a/meta/recipes-core/glib-2.0/files/0001-Set-host_machine-correctly-when-building-with-mingw3.patch b/meta/recipes-core/glib-2.0/files/0001-Set-host_machine-correctly-when-building-with-mingw3.patch deleted file mode 100644 index 7ac03aa6ac..0000000000 --- a/meta/recipes-core/glib-2.0/files/0001-Set-host_machine-correctly-when-building-with-mingw3.patch +++ /dev/null | |||
@@ -1,80 +0,0 @@ | |||
1 | From 3f85d7dfb25666aef43dd6d58b4151e523f83693 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 13 Feb 2019 15:32:05 +0100 | ||
4 | Subject: [PATCH] Set host_machine correctly when building with mingw32 | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe-core specific] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | gio/tests/meson.build | 8 ++++---- | ||
10 | glib/tests/meson.build | 2 +- | ||
11 | meson.build | 3 +++ | ||
12 | 3 files changed, 8 insertions(+), 5 deletions(-) | ||
13 | |||
14 | diff --git a/gio/tests/meson.build b/gio/tests/meson.build | ||
15 | index 3bfb333..60e3d3d 100644 | ||
16 | --- a/gio/tests/meson.build | ||
17 | +++ b/gio/tests/meson.build | ||
18 | @@ -29,7 +29,7 @@ endif | ||
19 | |||
20 | test_cpp_args = test_c_args | ||
21 | |||
22 | -if host_machine.system() == 'windows' | ||
23 | +if host_system == 'windows' | ||
24 | common_gio_tests_deps += [iphlpapi_dep, winsock2, cc.find_library ('secur32')] | ||
25 | endif | ||
26 | |||
27 | @@ -244,7 +244,7 @@ if have_dbus_daemon | ||
28 | endif | ||
29 | |||
30 | # Test programs buildable on UNIX only | ||
31 | -if host_machine.system() != 'windows' | ||
32 | +if host_system != 'windows' | ||
33 | gio_tests += { | ||
34 | 'file' : { | ||
35 | # FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148 | ||
36 | @@ -599,7 +599,7 @@ if host_machine.system() != 'windows' | ||
37 | endif # unix | ||
38 | |||
39 | # Test programs buildable on Windows only | ||
40 | -if host_machine.system() == 'windows' | ||
41 | +if host_system == 'windows' | ||
42 | gio_tests += {'win32-streams' : {}} | ||
43 | endif | ||
44 | |||
45 | @@ -669,7 +669,7 @@ if cc.get_id() != 'msvc' and cc.get_id() != 'clang-cl' | ||
46 | } | ||
47 | endif | ||
48 | |||
49 | -if host_machine.system() != 'windows' | ||
50 | +if host_system != 'windows' | ||
51 | test_extra_programs += { | ||
52 | 'gdbus-example-unix-fd-client' : { | ||
53 | 'install' : false, | ||
54 | diff --git a/glib/tests/meson.build b/glib/tests/meson.build | ||
55 | index 85f40d2..39de732 100644 | ||
56 | --- a/glib/tests/meson.build | ||
57 | +++ b/glib/tests/meson.build | ||
58 | @@ -230,7 +230,7 @@ if glib_conf.has('HAVE_EVENTFD') | ||
59 | } | ||
60 | endif | ||
61 | |||
62 | -if host_machine.system() == 'windows' | ||
63 | +if host_system == 'windows' | ||
64 | if winsock2.found() | ||
65 | glib_tests += { | ||
66 | 'gpoll' : { | ||
67 | diff --git a/meson.build b/meson.build | ||
68 | index b995ebc..257afb5 100644 | ||
69 | --- a/meson.build | ||
70 | +++ b/meson.build | ||
71 | @@ -54,6 +54,9 @@ else | ||
72 | endif | ||
73 | |||
74 | host_system = host_machine.system() | ||
75 | +if host_system == 'mingw32' | ||
76 | + host_system = 'windows' | ||
77 | +endif | ||
78 | |||
79 | if host_system == 'darwin' | ||
80 | ios_test_code = '''#include <TargetConditionals.h> | ||
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index fbd2b18684..690d1c162c 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -222,7 +222,6 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | |||
222 | file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \ | 222 | file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \ |
223 | file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \ | 223 | file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \ |
224 | file://0010-Do-not-hardcode-python-path-into-various-tools.patch \ | 224 | file://0010-Do-not-hardcode-python-path-into-various-tools.patch \ |
225 | file://0001-Set-host_machine-correctly-when-building-with-mingw3.patch \ | ||
226 | file://0001-Do-not-write-bindir-into-pkg-config-files.patch \ | 225 | file://0001-Do-not-write-bindir-into-pkg-config-files.patch \ |
227 | file://0001-meson-Run-atomics-test-on-clang-as-well.patch \ | 226 | file://0001-meson-Run-atomics-test-on-clang-as-well.patch \ |
228 | file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \ | 227 | file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \ |