@@ -10,62 +10,60 @@ inherit features_check gtk-icon-cache qemu
10
10
OUTPUT_DIR = "out/Release"
11
11
B = "${S} /${OUTPUT_DIR} "
12
12
13
- SRC_URI += " \
13
+ # Backported patches.
14
+ SRC_URI += "\
15
+ file://backport/IWYU-for-chromedriver-chrome-client_hints.h.patch \
16
+ file://backport/IWYU-for-ui-events-gesture_detection-motion.patch \
17
+ file://backport/Remove-std-ranges-usage.patch \
18
+ "
19
+ # Non-specific patches.
20
+ SRC_URI += "\
14
21
file://0001-limit-number-of-LTO-jobs.patch \
15
22
file://0002-Remove-the-GN-settings-done-for-clang-that-conflict-.patch \
16
23
file://0003-v8-qemu-wrapper.patch \
17
24
file://0004-wrapper-extra-flags.patch \
18
- file://0005-BUILD-do-not-specify-march-on-arm.patch \
19
- file://0007-Delete-compiler-options-not-available-in-release-ver.patch \
20
- file://0008-avoid-link-latomic-failure-on-CentOS-8-host.patch \
21
- file://0011-Revert-Use-ffile-compilation-dir-instead-of-fdebug-c.patch \
22
- file://0015-drop-gsimple-template-names.patch \
23
- file://0016-cast-to-bool-to-avoid-constexpr-error.patch \
24
- file://0017-Revert-Fix-std-span-autodetection-7805.patch \
25
- file://0018-Only-default-operator-on-declaration.patch \
26
- file://0020-Revert-__attribute__-and-alignas-changes.patch \
27
- file://0021-Add-missing-typename-s.patch \
28
- file://0027-Don-t-pass-disable-auto-upgrade-debug-info-to-linker.patch \
29
- file://0028-Avoid-capturing-structured-bindings.patch \
30
- file://0033-Revert-Reland-Reland-mte-refactor-the-tagging-functi.patch \
31
- file://0034-Avoid-parenthesized-initialization-of-aggregates.patch \
32
- file://0035-Backport-IWYU-for-chromedriver-chrome-client_hints.h.patch \
33
- file://0036-Backport-Remove-std-ranges-usage.patch \
34
- file://0037-Fix-constexpr-variable-cannot-have-non-literal-type-.patch \
35
- file://0038-Fix-undefined-symbol-PaintOpWriter-SerializedSize-un.patch \
36
- file://0039-Fix-implicitly-deleted-default-constructor-build-err.patch \
37
- file://0040-Backport-IWYU-for-ui-events-gesture_detection-motion.patch \
38
- "
39
- SRC_URI :append :aarch64 = "${@ bb . utils . contains ('TUNE_FEATURES' , 'crypto' , '' , ' file://boringssl_no_asm_config.patch' , d )}"
40
-
41
- SRC_URI :append :libc -musl = "\
42
- file://musl/0001-mallinfo-implementation-is-glibc-specific.patch \
43
- file://musl/0003-Define-TEMP_FAILURE_RETRY-and-__si_fields.patch \
44
- file://musl/0005-breakpad-Fix-build-with-musl.patch \
45
- file://musl/0006-fontconfig-Musl-does-not-have-rand_r-API.patch \
46
- file://musl/0007-__libc_malloc-is-internal-to-glibc.patch \
47
- file://musl/0012-debug-Fix-build-with-musl.patch \
48
- file://musl/0015-mallopt-is-glibc-specific-API.patch \
49
- file://musl/0018--Use-monotonic-clock-for-pthread_cond_timedwait-with-.patch \
50
- file://musl/0020-Fix-tab-crashes-on-musl.patch \
51
- file://musl/0021-pthread_getname_np.patch \
52
- file://musl/0022-sys-stat.patch \
53
- file://musl/credentials-header.patch \
54
- file://musl/fstatat64.patch \
55
- file://musl/no-res-ninit-nclose.patch \
56
- file://musl/fix-libc-version-include.patch \
25
+ file://0005-Delete-compiler-options-not-available-in-release-ver.patch \
26
+ file://0006-avoid-link-latomic-failure-on-CentOS-8-host.patch \
27
+ file://0007-Revert-Use-ffile-compilation-dir-instead-of-fdebug-c.patch \
28
+ file://0008-drop-gsimple-template-names.patch \
29
+ file://0009-cast-to-bool-to-avoid-constexpr-error.patch \
30
+ file://0010-Revert-Fix-std-span-autodetection-7805.patch \
31
+ file://0011-Only-default-operator-on-declaration.patch \
32
+ file://0012-Revert-__attribute__-and-alignas-changes.patch \
33
+ file://0013-Add-missing-typename-s.patch \
34
+ file://0014-Don-t-pass-disable-auto-upgrade-debug-info-to-linker.patch \
35
+ file://0015-Avoid-capturing-structured-bindings.patch \
36
+ file://0016-Revert-Reland-Reland-mte-refactor-the-tagging-functi.patch \
37
+ file://0017-Avoid-parenthesized-initialization-of-aggregates.patch \
38
+ file://0018-Fix-constexpr-variable-cannot-have-non-literal-type-.patch \
39
+ file://0019-Fix-undefined-symbol-PaintOpWriter-SerializedSize-un.patch \
40
+ file://0020-Fix-implicitly-deleted-default-constructor-build-err.patch \
57
41
"
58
-
59
- # OE defines _TIME_BITS only for 32-bit ARM (ignoring architectures that we
60
- # don't support), see its meta/conf/distro/include/time64.inc.
42
+ # ARM/AArch64-specific patches.
61
43
SRC_URI :append :arm = "\
62
- file://0031-Fix-ARM-build-with-recent-glibc.patch \
44
+ file://arm/0001-BUILD-do-not-specify-march-on-arm.patch \
45
+ file://arm/0002-Fix-ARM-build-with-recent-glibc.patch \
46
+ file://arm/0003-Fix-static_assert-failed-build-error-on-32-bit-ARM.patch \
63
47
"
48
+ SRC_URI :append :aarch64 = "${@ bb . utils . contains ('TUNE_FEATURES' , 'crypto' , '' , ' file://arm/0004-Fix-AES-crypto-SIGILL-on-rpi4-64.patch' , d )}"
64
49
65
- # This fixes a build error with older versions of clang when V8 pointer
66
- # compression is disabled, which is the case for 32-bit ARM.
67
- SRC_URI :append :arm = "\
68
- file://0041-Fix-static_assert-failed-build-error-on-32-bit-ARM.patch \
50
+ # musl-specific patches.
51
+ SRC_URI :append :libc -musl = "\
52
+ file://musl/0001-mallinfo-implementation-is-glibc-specific.patch \
53
+ file://musl/0002-Define-TEMP_FAILURE_RETRY-and-__si_fields.patch \
54
+ file://musl/0003-breakpad-Fix-build-with-musl.patch \
55
+ file://musl/0004-fontconfig-Musl-does-not-have-rand_r-API.patch \
56
+ file://musl/0005-__libc_malloc-is-internal-to-glibc.patch \
57
+ file://musl/0006-debug-Fix-build-with-musl.patch \
58
+ file://musl/0007-mallopt-is-glibc-specific-API.patch \
59
+ file://musl/0008-Use-monotonic-clock-for-pthread_cond_timedwait-with-.patch \
60
+ file://musl/0009-Fix-tab-crashes-on-musl.patch \
61
+ file://musl/0010-pthread_getname_np.patch \
62
+ file://musl/0011-sys-stat.patch \
63
+ file://musl/0012-credentials-header.patch \
64
+ file://musl/0013-fstatat64.patch \
65
+ file://musl/0014-no-res-ninit-nclose.patch \
66
+ file://musl/0015-fix-libc-version-include.patch \
69
67
"
70
68
71
69
ANY_OF_DISTRO_FEATURES = "opengl vulkan"
0 commit comments