diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-16 23:53:10 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-17 20:42:43 +0200 |
commit | 246ec7b7d9078400d0509468b560a272e8b40e0f (patch) | |
tree | 6fb6c9b5534787363236cee075b609f5a27a8909 /recipes-qt | |
parent | d82317c23d6473a4e53d7a5ff11ecf6b9c8769e8 (diff) | |
download | meta-qt5-246ec7b7d9078400d0509468b560a272e8b40e0f.tar.gz |
qtwebengine: refresh patches
* upload the patches to b5.8 branch on:
https://github.com/meta-qt5/qtwebengine
and 53-based on:
https://github.com/meta-qt5/qtwebengine-chromium
* refresh the patches
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt')
26 files changed, 193 insertions, 244 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch b/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch index 44901165..560a0277 100644 --- a/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch +++ b/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch | |||
@@ -1,8 +1,8 @@ | |||
1 | From 83eee1ff5f9259595b8630e464fa869c6fde8f3c Mon Sep 17 00:00:00 2001 | 1 | From d70a7ccba09ba96e0068ad253b3aac7a47125f8e Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Fri, 3 Oct 2014 03:52:11 +0200 | 3 | Date: Fri, 3 Oct 2014 03:52:11 +0200 |
4 | Subject: [PATCH 1/4] <chromium> base.gypi: include | 4 | Subject: [PATCH] chromium base.gypi: include atomicops_internals_x86_gcc.cc |
5 | atomicops_internals_x86_gcc.cc when building for x64 arch | 5 | when building for x64 arch |
6 | 6 | ||
7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
8 | --- | 8 | --- |
@@ -22,6 +22,3 @@ index a4da596070..13173d621e 100644 | |||
22 | 'sources/': [ | 22 | 'sources/': [ |
23 | ['include', 'atomicops_internals_x86_gcc.cc'], | 23 | ['include', 'atomicops_internals_x86_gcc.cc'], |
24 | ], | 24 | ], |
25 | -- | ||
26 | 2.13.2 | ||
27 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch b/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch index b7bd5a4a..3d8b3b0f 100644 --- a/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch +++ b/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 793db05d66b7a92ebe069dc76093487489dd8b69 Mon Sep 17 00:00:00 2001 | 1 | From 2f3a16a0efaf02521425da2db7d88710da3074b4 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Mon, 30 Jun 2014 20:08:17 +0200 | 3 | Date: Mon, 30 Jun 2014 20:08:17 +0200 |
4 | Subject: [PATCH] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H | 4 | Subject: [PATCH] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H |
@@ -10,10 +10,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
10 | 1 file changed, 2 insertions(+), 2 deletions(-) | 10 | 1 file changed, 2 insertions(+), 2 deletions(-) |
11 | 11 | ||
12 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | 12 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf |
13 | index 20fb278..7aa0b4a 100644 | 13 | index 236ee8ac..0333bdd1 100644 |
14 | --- a/tools/qmake/mkspecs/features/functions.prf | 14 | --- a/tools/qmake/mkspecs/features/functions.prf |
15 | +++ b/tools/qmake/mkspecs/features/functions.prf | 15 | +++ b/tools/qmake/mkspecs/features/functions.prf |
16 | @@ -168,9 +168,9 @@ defineReplace(mocOutput) { | 16 | @@ -319,9 +319,9 @@ defineReplace(mocOutput) { |
17 | out = $$1 | 17 | out = $$1 |
18 | # The order is important, since the output of the second replace would end up accidentaly transformed by the first one | 18 | # The order is important, since the output of the second replace would end up accidentaly transformed by the first one |
19 | for(ext, $$list($${QMAKE_EXT_CPP})): \ | 19 | for(ext, $$list($${QMAKE_EXT_CPP})): \ |
diff --git a/recipes-qt/qt5/qtwebengine/0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch b/recipes-qt/qt5/qtwebengine/0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch index eae27879..587b632f 100644 --- a/recipes-qt/qt5/qtwebengine/0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch +++ b/recipes-qt/qt5/qtwebengine/0002-chromium-Change-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4aa614106c03793709e5dbd69f45df8a5e5c9fe4 Mon Sep 17 00:00:00 2001 | 1 | From 79a62dbe498946f487edcb0228c350d9fe7e4d09 Mon Sep 17 00:00:00 2001 |
2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> | 2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> |
3 | Date: Thu, 24 Dec 2015 12:46:58 -0200 | 3 | Date: Thu, 24 Dec 2015 12:46:58 -0200 |
4 | Subject: [PATCH 2/4] chromium: Change false to FALSE and 1 to TRUE, FIX | 4 | Subject: [PATCH] chromium: Change false to FALSE and 1 to TRUE, FIX |
5 | qtwebengine compile | 5 | qtwebengine compile |
6 | 6 | ||
7 | Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> | 7 | Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> |
@@ -61,6 +61,3 @@ index 6d926378be..738d3fdedf 100644 | |||
61 | 61 | ||
62 | // we want to always get RGB data out | 62 | // we want to always get RGB data out |
63 | switch (cinfo.jpeg_color_space) { | 63 | switch (cinfo.jpeg_color_space) { |
64 | -- | ||
65 | 2.13.2 | ||
66 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch b/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch index e487c6a5..93e68b51 100644 --- a/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch +++ b/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From aa5bb11072bc0e441dc6533f53ed5359c5000088 Mon Sep 17 00:00:00 2001 | 1 | From bf7f70ae0bf7345c2546f4f4bc371a9e8eeb0bd3 Mon Sep 17 00:00:00 2001 |
2 | From: Simon Busch <morphis@gravedo.de> | 2 | From: Simon Busch <morphis@gravedo.de> |
3 | Date: Tue, 18 Nov 2014 10:38:18 +0100 | 3 | Date: Tue, 18 Nov 2014 10:38:18 +0100 |
4 | Subject: [PATCH] functions.prf: Make sure we only use the file name to | 4 | Subject: [PATCH] functions.prf: Make sure we only use the file name to |
@@ -11,10 +11,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
11 | 1 file changed, 2 insertions(+), 1 deletion(-) | 11 | 1 file changed, 2 insertions(+), 1 deletion(-) |
12 | 12 | ||
13 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | 13 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf |
14 | index 7aa0b4a..9b3a639 100644 | 14 | index 0333bdd1..687d34f8 100644 |
15 | --- a/tools/qmake/mkspecs/features/functions.prf | 15 | --- a/tools/qmake/mkspecs/features/functions.prf |
16 | +++ b/tools/qmake/mkspecs/features/functions.prf | 16 | +++ b/tools/qmake/mkspecs/features/functions.prf |
17 | @@ -165,7 +165,8 @@ defineReplace(findIncludedMocFiles) { | 17 | @@ -316,7 +316,8 @@ defineReplace(findIncludedMocFiles) { |
18 | } | 18 | } |
19 | 19 | ||
20 | defineReplace(mocOutput) { | 20 | defineReplace(mocOutput) { |
diff --git a/recipes-qt/qt5/qtwebengine/0003-chromium-v8-fix-build-with-gcc7.patch b/recipes-qt/qt5/qtwebengine/0003-chromium-v8-fix-build-with-gcc7.patch index 2acce2c5..f2456dd6 100644 --- a/recipes-qt/qt5/qtwebengine/0003-chromium-v8-fix-build-with-gcc7.patch +++ b/recipes-qt/qt5/qtwebengine/0003-chromium-v8-fix-build-with-gcc7.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 1a163c0cab05761f269fcb5adad5d40d71200d52 Mon Sep 17 00:00:00 2001 | 1 | From 944746d5d04ea8eaf268a97440c98136beae1e47 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Tue, 11 Jul 2017 10:15:41 +0200 | 3 | Date: Tue, 11 Jul 2017 10:15:41 +0200 |
4 | Subject: [PATCH 3/4] chromium: v8 fix build with gcc7 | 4 | Subject: [PATCH] chromium: v8 fix build with gcc7 |
5 | 5 | ||
6 | Use the fix from nodejs: | 6 | Use the fix from nodejs: |
7 | https://github.com/nodejs/node/commit/2a2a5565c298639b823250b571101f51210c50e8 | 7 | https://github.com/nodejs/node/commit/2a2a5565c298639b823250b571101f51210c50e8 |
@@ -129,6 +129,3 @@ index 7d774beb5b..eda1478766 100644 | |||
129 | 129 | ||
130 | // Returns a new HashTable object. | 130 | // Returns a new HashTable object. |
131 | MUST_USE_RESULT static Handle<Derived> New( | 131 | MUST_USE_RESULT static Handle<Derived> New( |
132 | -- | ||
133 | 2.13.2 | ||
134 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch b/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch index 786a383d..a4601780 100644 --- a/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6918d25c54ec4bc17a9b612c0d24b0f01be3aca1 Mon Sep 17 00:00:00 2001 | 1 | From 5ff09196304a38304893e0703a8a7d2df2ec889a Mon Sep 17 00:00:00 2001 |
2 | From: Frieder Schrempf <frieder.schrempf@online.de> | 2 | From: Frieder Schrempf <frieder.schrempf@online.de> |
3 | Date: Mon, 1 Dec 2014 14:34:40 +0000 | 3 | Date: Mon, 1 Dec 2014 14:34:40 +0000 |
4 | Subject: [PATCH] functions.prf: allow build for linux-oe-g++ platform | 4 | Subject: [PATCH] functions.prf: allow build for linux-oe-g++ platform |
@@ -12,10 +12,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
12 | 1 file changed, 6 insertions(+) | 12 | 1 file changed, 6 insertions(+) |
13 | 13 | ||
14 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | 14 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf |
15 | index 9b3a639..dc5ed1c 100644 | 15 | index 687d34f8..5c0c40fd 100644 |
16 | --- a/tools/qmake/mkspecs/features/functions.prf | 16 | --- a/tools/qmake/mkspecs/features/functions.prf |
17 | +++ b/tools/qmake/mkspecs/features/functions.prf | 17 | +++ b/tools/qmake/mkspecs/features/functions.prf |
18 | @@ -5,6 +5,12 @@ defineTest(isPlatformSupported) { | 18 | @@ -21,6 +21,12 @@ defineTest(isPlatformSupported) { |
19 | return(false) | 19 | return(false) |
20 | } | 20 | } |
21 | gcc:!clang:!isGCCVersionSupported(): return(false) | 21 | gcc:!clang:!isGCCVersionSupported(): return(false) |
diff --git a/recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch b/recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch index d10ddf7f..40015637 100644 --- a/recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch +++ b/recipes-qt/qt5/qtwebengine/0004-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6ed60f35761ab268004727be544e9ccf70594211 Mon Sep 17 00:00:00 2001 | 1 | From 0e1143af443c80cd49663b55128ab4dd8e570ee1 Mon Sep 17 00:00:00 2001 |
2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> | 2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> |
3 | Date: Fri, 25 Dec 2015 18:16:05 -0200 | 3 | Date: Fri, 25 Dec 2015 18:16:05 -0200 |
4 | Subject: [PATCH] WebEngine qquickwebengineview_p_p.h add include QColor | 4 | Subject: [PATCH] WebEngine qquickwebengineview_p_p.h add include QColor |
@@ -9,10 +9,10 @@ Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> | |||
9 | 1 file changed, 2 insertions(+) | 9 | 1 file changed, 2 insertions(+) |
10 | 10 | ||
11 | diff --git a/src/webengine/api/qquickwebengineview_p_p.h b/src/webengine/api/qquickwebengineview_p_p.h | 11 | diff --git a/src/webengine/api/qquickwebengineview_p_p.h b/src/webengine/api/qquickwebengineview_p_p.h |
12 | index f13bfd0..0e12244 100644 | 12 | index d692140e..58528114 100644 |
13 | --- a/src/webengine/api/qquickwebengineview_p_p.h | 13 | --- a/src/webengine/api/qquickwebengineview_p_p.h |
14 | +++ b/src/webengine/api/qquickwebengineview_p_p.h | 14 | +++ b/src/webengine/api/qquickwebengineview_p_p.h |
15 | @@ -60,6 +60,8 @@ | 15 | @@ -59,6 +59,8 @@ |
16 | #include <QString> | 16 | #include <QString> |
17 | #include <QtCore/qcompilerdetection.h> | 17 | #include <QtCore/qcompilerdetection.h> |
18 | #include <QtGui/qaccessibleobject.h> | 18 | #include <QtGui/qaccessibleobject.h> |
diff --git a/recipes-qt/qt5/qtwebengine/0004-chromium-WebKit-fix-build-with-gcc7.patch b/recipes-qt/qt5/qtwebengine/0004-chromium-WebKit-fix-build-with-gcc7.patch index 46e87611..041d29b2 100644 --- a/recipes-qt/qt5/qtwebengine/0004-chromium-WebKit-fix-build-with-gcc7.patch +++ b/recipes-qt/qt5/qtwebengine/0004-chromium-WebKit-fix-build-with-gcc7.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 2be0856e09f47e7f2c35e77d4e000d769c6beaf9 Mon Sep 17 00:00:00 2001 | 1 | From f62b851edbcc3ac3da448d7570908ad78ebe77dc Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Tue, 11 Jul 2017 10:18:13 +0200 | 3 | Date: Tue, 11 Jul 2017 10:18:13 +0200 |
4 | Subject: [PATCH 4/4] chromium: WebKit fix build with gcc7 | 4 | Subject: [PATCH] chromium: WebKit fix build with gcc7 |
5 | 5 | ||
6 | Based on qtwebengine-opensource-src-5.8.0-wtf-gcc7.patch from | 6 | Based on qtwebengine-opensource-src-5.8.0-wtf-gcc7.patch from |
7 | http://git.net/ml/scm-fedora-commits/2017-03/msg15697.html | 7 | http://git.net/ml/scm-fedora-commits/2017-03/msg15697.html |
@@ -39,6 +39,3 @@ index e85c72fd65..6f94cd6734 100644 | |||
39 | template<typename T, typename U, typename V, typename W> | 39 | template<typename T, typename U, typename V, typename W> |
40 | inline void LinkedHashSet<T, U, V, W>::swap(LinkedHashSet& other) | 40 | inline void LinkedHashSet<T, U, V, W>::swap(LinkedHashSet& other) |
41 | { | 41 | { |
42 | -- | ||
43 | 2.13.2 | ||
44 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0004-include-fcntl.h-for-loff_t.patch b/recipes-qt/qt5/qtwebengine/0004-include-fcntl.h-for-loff_t.patch deleted file mode 100644 index da8503bf..00000000 --- a/recipes-qt/qt5/qtwebengine/0004-include-fcntl.h-for-loff_t.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | From a0b40dcdfb3331d2b8351bdfb27f1ba3e8a2c33c Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 7 Jul 2017 14:37:49 -0700 | ||
4 | Subject: [PATCH 04/12] include fcntl.h for loff_t | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | ||
12 | index bdbc4b7e3..b53dd46c5 100644 | ||
13 | --- a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | ||
14 | +++ b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | ||
15 | @@ -151,6 +151,7 @@ extern "C" { | ||
16 | #include <stddef.h> | ||
17 | #include <stdint.h> | ||
18 | #include <string.h> | ||
19 | +#include <fcntl.h> | ||
20 | #include <sys/ptrace.h> | ||
21 | #include <sys/resource.h> | ||
22 | #include <sys/time.h> | ||
23 | -- | ||
24 | 2.13.2 | ||
25 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch b/recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch index 27bd141d..196ef4c2 100644 --- a/recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch +++ b/recipes-qt/qt5/qtwebengine/0005-Include-dependency-to-QCoreApplication-translate.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4105c12d6f91171934f60b4dbb74b1ca7a9a3eb2 Mon Sep 17 00:00:00 2001 | 1 | From d8fd8c8388c54a0322e60e8be49236df3862ec56 Mon Sep 17 00:00:00 2001 |
2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> | 2 | From: Cleiton Bueno <cleitonrbueno@gmail.com> |
3 | Date: Thu, 24 Dec 2015 15:59:51 -0200 | 3 | Date: Thu, 24 Dec 2015 15:59:51 -0200 |
4 | Subject: [PATCH] Include dependency to QCoreApplication::translate() | 4 | Subject: [PATCH] Include dependency to QCoreApplication::translate() |
@@ -9,7 +9,7 @@ Signed-off-by: Cleiton Bueno <cleitonrbueno@gmail.com> | |||
9 | 1 file changed, 2 insertions(+) | 9 | 1 file changed, 2 insertions(+) |
10 | 10 | ||
11 | diff --git a/src/core/media_capture_devices_dispatcher.h b/src/core/media_capture_devices_dispatcher.h | 11 | diff --git a/src/core/media_capture_devices_dispatcher.h b/src/core/media_capture_devices_dispatcher.h |
12 | index b13a9da..8a54cce 100644 | 12 | index b21d40b8..758d5335 100644 |
13 | --- a/src/core/media_capture_devices_dispatcher.h | 13 | --- a/src/core/media_capture_devices_dispatcher.h |
14 | +++ b/src/core/media_capture_devices_dispatcher.h | 14 | +++ b/src/core/media_capture_devices_dispatcher.h |
15 | @@ -46,6 +46,8 @@ | 15 | @@ -46,6 +46,8 @@ |
diff --git a/recipes-qt/qt5/qtwebengine/0001-sandbox-Define-TEMP_FAILURE_RETRY-if-not-defined.patch b/recipes-qt/qt5/qtwebengine/0005-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch index c56cfc7b..b1a08571 100644 --- a/recipes-qt/qt5/qtwebengine/0001-sandbox-Define-TEMP_FAILURE_RETRY-if-not-defined.patch +++ b/recipes-qt/qt5/qtwebengine/0005-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch | |||
@@ -1,19 +1,20 @@ | |||
1 | From 89d6283c91f2229cc51f473eed344de97d09e946 Mon Sep 17 00:00:00 2001 | 1 | From fac50c58630264d67e447c2dcdcf54b4f806d35e Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 14:01:12 -0700 | 3 | Date: Fri, 7 Jul 2017 14:01:12 -0700 |
4 | Subject: [PATCH 01/12] sandbox: Define TEMP_FAILURE_RETRY if not defined | 4 | Subject: [PATCH] chromium: musl: sandbox: Define TEMP_FAILURE_RETRY if not |
5 | defined | ||
5 | 6 | ||
6 | Musl does not define this Macro | 7 | Musl does not define this Macro |
7 | 8 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
9 | --- | 10 | --- |
10 | sandbox/linux/suid/sandbox.c | 9 +++++++++ | 11 | chromium/sandbox/linux/suid/sandbox.c | 9 +++++++++ |
11 | 1 file changed, 9 insertions(+) | 12 | 1 file changed, 9 insertions(+) |
12 | 13 | ||
13 | diff --git a/sandbox/linux/suid/sandbox.c b/sandbox/linux/suid/sandbox.c | 14 | diff --git a/chromium/sandbox/linux/suid/sandbox.c b/chromium/sandbox/linux/suid/sandbox.c |
14 | index b655d1c79..3de34e36f 100644 | 15 | index b655d1c79c..3de34e36f2 100644 |
15 | --- a/sandbox/linux/suid/sandbox.c | 16 | --- a/chromium/sandbox/linux/suid/sandbox.c |
16 | +++ b/sandbox/linux/suid/sandbox.c | 17 | +++ b/chromium/sandbox/linux/suid/sandbox.c |
17 | @@ -44,6 +44,15 @@ static bool DropRoot(); | 18 | @@ -44,6 +44,15 @@ static bool DropRoot(); |
18 | 19 | ||
19 | #define HANDLE_EINTR(x) TEMP_FAILURE_RETRY(x) | 20 | #define HANDLE_EINTR(x) TEMP_FAILURE_RETRY(x) |
@@ -30,6 +31,3 @@ index b655d1c79..3de34e36f 100644 | |||
30 | static void FatalError(const char* msg, ...) | 31 | static void FatalError(const char* msg, ...) |
31 | __attribute__((noreturn, format(printf, 1, 2))); | 32 | __attribute__((noreturn, format(printf, 1, 2))); |
32 | 33 | ||
33 | -- | ||
34 | 2.13.2 | ||
35 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0003-Avoid-mallinfo-APIs-on-non-glibc-linux.patch b/recipes-qt/qt5/qtwebengine/0006-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch index 2e0b1f00..43982daa 100644 --- a/recipes-qt/qt5/qtwebengine/0003-Avoid-mallinfo-APIs-on-non-glibc-linux.patch +++ b/recipes-qt/qt5/qtwebengine/0006-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch | |||
@@ -1,18 +1,18 @@ | |||
1 | From 8defe37306b0d1548592afc12baa45f4aec5375c Mon Sep 17 00:00:00 2001 | 1 | From e7e4def6d1422b84a9d6a6f7b285515d96210e87 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 14:09:06 -0700 | 3 | Date: Fri, 7 Jul 2017 14:09:06 -0700 |
4 | Subject: [PATCH 03/12] Avoid mallinfo() APIs on non-glibc/linux | 4 | Subject: [PATCH] chromium: musl: Avoid mallinfo() APIs on non-glibc/linux |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
8 | base/trace_event/malloc_dump_provider.cc | 3 ++- | 8 | chromium/base/trace_event/malloc_dump_provider.cc | 3 ++- |
9 | content/child/content_child_helpers.cc | 2 +- | 9 | chromium/content/child/content_child_helpers.cc | 2 +- |
10 | 2 files changed, 3 insertions(+), 2 deletions(-) | 10 | 2 files changed, 3 insertions(+), 2 deletions(-) |
11 | 11 | ||
12 | diff --git a/base/trace_event/malloc_dump_provider.cc b/base/trace_event/malloc_dump_provider.cc | 12 | diff --git a/chromium/base/trace_event/malloc_dump_provider.cc b/chromium/base/trace_event/malloc_dump_provider.cc |
13 | index 3b1a933bc..a554d0373 100644 | 13 | index 3b1a933bce..a554d03739 100644 |
14 | --- a/base/trace_event/malloc_dump_provider.cc | 14 | --- a/chromium/base/trace_event/malloc_dump_provider.cc |
15 | +++ b/base/trace_event/malloc_dump_provider.cc | 15 | +++ b/chromium/base/trace_event/malloc_dump_provider.cc |
16 | @@ -103,6 +103,7 @@ MallocDumpProvider::~MallocDumpProvider() {} | 16 | @@ -103,6 +103,7 @@ MallocDumpProvider::~MallocDumpProvider() {} |
17 | // the current process. | 17 | // the current process. |
18 | bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, | 18 | bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, |
@@ -30,10 +30,10 @@ index 3b1a933bc..a554d0373 100644 | |||
30 | return true; | 30 | return true; |
31 | } | 31 | } |
32 | 32 | ||
33 | diff --git a/content/child/content_child_helpers.cc b/content/child/content_child_helpers.cc | 33 | diff --git a/chromium/content/child/content_child_helpers.cc b/chromium/content/child/content_child_helpers.cc |
34 | index 7ddeb4d16..b8c73b09c 100644 | 34 | index 7ddeb4d16a..b8c73b09c5 100644 |
35 | --- a/content/child/content_child_helpers.cc | 35 | --- a/chromium/content/child/content_child_helpers.cc |
36 | +++ b/content/child/content_child_helpers.cc | 36 | +++ b/chromium/content/child/content_child_helpers.cc |
37 | @@ -25,7 +25,7 @@ namespace content { | 37 | @@ -25,7 +25,7 @@ namespace content { |
38 | // though, this provides only a partial and misleading value. | 38 | // though, this provides only a partial and misleading value. |
39 | // Unfortunately some telemetry benchmark rely on it and these need to | 39 | // Unfortunately some telemetry benchmark rely on it and these need to |
@@ -43,6 +43,3 @@ index 7ddeb4d16..b8c73b09c 100644 | |||
43 | size_t GetMemoryUsageKB() { | 43 | size_t GetMemoryUsageKB() { |
44 | struct mallinfo minfo = mallinfo(); | 44 | struct mallinfo minfo = mallinfo(); |
45 | uint64_t mem_usage = | 45 | uint64_t mem_usage = |
46 | -- | ||
47 | 2.13.2 | ||
48 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0007-chromium-musl-include-fcntl.h-for-loff_t.patch b/recipes-qt/qt5/qtwebengine/0007-chromium-musl-include-fcntl.h-for-loff_t.patch new file mode 100644 index 00000000..95a12b01 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/0007-chromium-musl-include-fcntl.h-for-loff_t.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | From eac1905c90085d3b9de3764078022643dd1b5ce9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 7 Jul 2017 14:37:49 -0700 | ||
4 | Subject: [PATCH] chromium: musl: include fcntl.h for loff_t | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h b/chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | ||
12 | index bdbc4b7e3b..b53dd46c57 100644 | ||
13 | --- a/chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | ||
14 | +++ b/chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | ||
15 | @@ -151,6 +151,7 @@ extern "C" { | ||
16 | #include <stddef.h> | ||
17 | #include <stdint.h> | ||
18 | #include <string.h> | ||
19 | +#include <fcntl.h> | ||
20 | #include <sys/ptrace.h> | ||
21 | #include <sys/resource.h> | ||
22 | #include <sys/time.h> | ||
diff --git a/recipes-qt/qt5/qtwebengine/0005-use-off64_t-instead-of-the-internal-__off64_t.patch b/recipes-qt/qt5/qtwebengine/0008-chromium-musl-use-off64_t-instead-of-the-internal-__.patch index d552a34e..d15a63fd 100644 --- a/recipes-qt/qt5/qtwebengine/0005-use-off64_t-instead-of-the-internal-__off64_t.patch +++ b/recipes-qt/qt5/qtwebengine/0008-chromium-musl-use-off64_t-instead-of-the-internal-__.patch | |||
@@ -1,20 +1,20 @@ | |||
1 | From badea43b85346525b7c43c38c32d150b7eb85b13 Mon Sep 17 00:00:00 2001 | 1 | From 1690ac56cc013c3a18aa3c83e0efae47cc9da4f0 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 14:38:37 -0700 | 3 | Date: Fri, 7 Jul 2017 14:38:37 -0700 |
4 | Subject: [PATCH 05/12] use off64_t instead of the internal __off64_t | 4 | Subject: [PATCH] chromium: musl: use off64_t instead of the internal __off64_t |
5 | 5 | ||
6 | - only do the glibc 32-bit ABI check for mmap/mmap64 on gnu libc. musl | 6 | - only do the glibc 32-bit ABI check for mmap/mmap64 on gnu libc. musl |
7 | does not support the 32-bit ABI. | 7 | does not support the 32-bit ABI. |
8 | 8 | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
10 | --- | 10 | --- |
11 | third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 10 +++++----- | 11 | .../third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 10 +++++----- |
12 | 1 file changed, 5 insertions(+), 5 deletions(-) | 12 | 1 file changed, 5 insertions(+), 5 deletions(-) |
13 | 13 | ||
14 | diff --git a/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 14 | diff --git a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
15 | index 715c045f6..edc8cf2db 100644 | 15 | index 715c045f66..edc8cf2db7 100644 |
16 | --- a/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 16 | --- a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
17 | +++ b/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 17 | +++ b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
18 | @@ -77,7 +77,7 @@ typedef off64_t __off64_t; | 18 | @@ -77,7 +77,7 @@ typedef off64_t __off64_t; |
19 | 19 | ||
20 | static inline void* do_mmap64(void *start, size_t length, | 20 | static inline void* do_mmap64(void *start, size_t length, |
@@ -60,6 +60,3 @@ index 715c045f6..edc8cf2db 100644 | |||
60 | 60 | ||
61 | extern "C" void* mmap(void *start, size_t length, int prot, int flags, | 61 | extern "C" void* mmap(void *start, size_t length, int prot, int flags, |
62 | int fd, off_t offset) __THROW { | 62 | int fd, off_t offset) __THROW { |
63 | -- | ||
64 | 2.13.2 | ||
65 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0006-linux-glibc-make-the-distinction.patch b/recipes-qt/qt5/qtwebengine/0009-chromium-musl-linux-glibc-make-the-distinction.patch index 257d873e..434d62cd 100644 --- a/recipes-qt/qt5/qtwebengine/0006-linux-glibc-make-the-distinction.patch +++ b/recipes-qt/qt5/qtwebengine/0009-chromium-musl-linux-glibc-make-the-distinction.patch | |||
@@ -1,17 +1,17 @@ | |||
1 | From 4913850cd644e1fd44ecade5e9faa460de35a7d6 Mon Sep 17 00:00:00 2001 | 1 | From 71072da07e963ae1b05f9d956ef715de8d249c5d Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 14:54:38 -0700 | 3 | Date: Fri, 7 Jul 2017 14:54:38 -0700 |
4 | Subject: [PATCH 06/12] linux != glibc, make the distinction | 4 | Subject: [PATCH] chromium: musl: linux != glibc, make the distinction |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
8 | base/allocator/allocator_check.cc | 2 +- | 8 | chromium/base/allocator/allocator_check.cc | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
10 | 10 | ||
11 | diff --git a/base/allocator/allocator_check.cc b/base/allocator/allocator_check.cc | 11 | diff --git a/chromium/base/allocator/allocator_check.cc b/chromium/base/allocator/allocator_check.cc |
12 | index 5a0564d2f..8c2dc6491 100644 | 12 | index 5a0564d2f3..8c2dc6491d 100644 |
13 | --- a/base/allocator/allocator_check.cc | 13 | --- a/chromium/base/allocator/allocator_check.cc |
14 | +++ b/base/allocator/allocator_check.cc | 14 | +++ b/chromium/base/allocator/allocator_check.cc |
15 | @@ -21,7 +21,7 @@ bool IsAllocatorInitialized() { | 15 | @@ -21,7 +21,7 @@ bool IsAllocatorInitialized() { |
16 | #if defined(OS_WIN) && defined(ALLOCATOR_SHIM) | 16 | #if defined(OS_WIN) && defined(ALLOCATOR_SHIM) |
17 | // Set by allocator_shim_win.cc when the shimmed _set_new_mode() is called. | 17 | // Set by allocator_shim_win.cc when the shimmed _set_new_mode() is called. |
@@ -21,6 +21,3 @@ index 5a0564d2f..8c2dc6491 100644 | |||
21 | !defined(MEMORY_TOOL_REPLACES_ALLOCATOR) | 21 | !defined(MEMORY_TOOL_REPLACES_ALLOCATOR) |
22 | // From third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h. | 22 | // From third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h. |
23 | // TODO(primiano): replace with an include once base can depend on allocator. | 23 | // TODO(primiano): replace with an include once base can depend on allocator. |
24 | -- | ||
25 | 2.13.2 | ||
26 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0007-allocator-Do-not-include-glibc_weak_symbols-for-musl.patch b/recipes-qt/qt5/qtwebengine/0010-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch index b999c599..4393103c 100644 --- a/recipes-qt/qt5/qtwebengine/0007-allocator-Do-not-include-glibc_weak_symbols-for-musl.patch +++ b/recipes-qt/qt5/qtwebengine/0010-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch | |||
@@ -1,18 +1,19 @@ | |||
1 | From 482e77e9562b8a158b5b212e9f1c83c697fed2e2 Mon Sep 17 00:00:00 2001 | 1 | From 43384ce7ab1d3b14820cb9bc0698130be9291a8e Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 15:09:02 -0700 | 3 | Date: Fri, 7 Jul 2017 15:09:02 -0700 |
4 | Subject: [PATCH 07/12] allocator: Do not include glibc_weak_symbols for musl | 4 | Subject: [PATCH] chromium: musl: allocator: Do not include glibc_weak_symbols |
5 | for musl | ||
5 | 6 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 8 | --- |
8 | base/allocator/allocator_shim.cc | 2 +- | 9 | chromium/base/allocator/allocator_shim.cc | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
10 | 11 | ||
11 | diff --git a/base/allocator/allocator_shim.cc b/base/allocator/allocator_shim.cc | 12 | diff --git a/chromium/base/allocator/allocator_shim.cc b/chromium/base/allocator/allocator_shim.cc |
12 | index 57a398aaa..54c79063a 100644 | 13 | index af08ec039f..15070b9a13 100644 |
13 | --- a/base/allocator/allocator_shim.cc | 14 | --- a/chromium/base/allocator/allocator_shim.cc |
14 | +++ b/base/allocator/allocator_shim.cc | 15 | +++ b/chromium/base/allocator/allocator_shim.cc |
15 | @@ -263,7 +263,7 @@ void ShimFree(void* address) { | 16 | @@ -244,7 +244,7 @@ void ShimFree(void* address) { |
16 | // In the case of tcmalloc we also want to plumb into the glibc hooks | 17 | // In the case of tcmalloc we also want to plumb into the glibc hooks |
17 | // to avoid that allocations made in glibc itself (e.g., strdup()) get | 18 | // to avoid that allocations made in glibc itself (e.g., strdup()) get |
18 | // accidentally performed on the glibc heap instead of the tcmalloc one. | 19 | // accidentally performed on the glibc heap instead of the tcmalloc one. |
@@ -21,6 +22,3 @@ index 57a398aaa..54c79063a 100644 | |||
21 | #include "base/allocator/allocator_shim_override_glibc_weak_symbols.h" | 22 | #include "base/allocator/allocator_shim_override_glibc_weak_symbols.h" |
22 | #endif | 23 | #endif |
23 | 24 | ||
24 | -- | ||
25 | 2.13.2 | ||
26 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0008-Use-correct-member-name-__si_fields-from-LinuxSigInf.patch b/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Use-correct-member-name-__si_fields-fr.patch index 3bd0a9d4..04e0012a 100644 --- a/recipes-qt/qt5/qtwebengine/0008-Use-correct-member-name-__si_fields-from-LinuxSigInf.patch +++ b/recipes-qt/qt5/qtwebengine/0011-chromium-musl-Use-correct-member-name-__si_fields-fr.patch | |||
@@ -1,17 +1,18 @@ | |||
1 | From 3d12eb821e105111cbd88f5598746bd77c3a9ef0 Mon Sep 17 00:00:00 2001 | 1 | From 701bb2640d5e5b03e8e019600a076c93508e1541 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 15:12:39 -0700 | 3 | Date: Fri, 7 Jul 2017 15:12:39 -0700 |
4 | Subject: [PATCH 08/12] Use correct member name __si_fields from LinuxSigInfo | 4 | Subject: [PATCH] chromium: musl: Use correct member name __si_fields from |
5 | LinuxSigInfo | ||
5 | 6 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 8 | --- |
8 | sandbox/linux/seccomp-bpf/trap.cc | 2 +- | 9 | chromium/sandbox/linux/seccomp-bpf/trap.cc | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
10 | 11 | ||
11 | diff --git a/sandbox/linux/seccomp-bpf/trap.cc b/sandbox/linux/seccomp-bpf/trap.cc | 12 | diff --git a/chromium/sandbox/linux/seccomp-bpf/trap.cc b/chromium/sandbox/linux/seccomp-bpf/trap.cc |
12 | index 003708d2c..0fef3148f 100644 | 13 | index 003708d2c8..0fef3148f9 100644 |
13 | --- a/sandbox/linux/seccomp-bpf/trap.cc | 14 | --- a/chromium/sandbox/linux/seccomp-bpf/trap.cc |
14 | +++ b/sandbox/linux/seccomp-bpf/trap.cc | 15 | +++ b/chromium/sandbox/linux/seccomp-bpf/trap.cc |
15 | @@ -168,7 +168,7 @@ void Trap::SigSys(int nr, LinuxSigInfo* info, ucontext_t* ctx) { | 16 | @@ -168,7 +168,7 @@ void Trap::SigSys(int nr, LinuxSigInfo* info, ucontext_t* ctx) { |
16 | // most versions of glibc don't include this information in siginfo_t. So, | 17 | // most versions of glibc don't include this information in siginfo_t. So, |
17 | // we need to explicitly copy it into a arch_sigsys structure. | 18 | // we need to explicitly copy it into a arch_sigsys structure. |
@@ -21,6 +22,3 @@ index 003708d2c..0fef3148f 100644 | |||
21 | 22 | ||
22 | #if defined(__mips__) | 23 | #if defined(__mips__) |
23 | // When indirect syscall (syscall(__NR_foo, ...)) is made on Mips, the | 24 | // When indirect syscall (syscall(__NR_foo, ...)) is made on Mips, the |
24 | -- | ||
25 | 2.13.2 | ||
26 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0009-Match-syscalls-to-match-musl.patch b/recipes-qt/qt5/qtwebengine/0012-chromium-musl-Match-syscalls-to-match-musl.patch index bfb6ebb6..b5a0f849 100644 --- a/recipes-qt/qt5/qtwebengine/0009-Match-syscalls-to-match-musl.patch +++ b/recipes-qt/qt5/qtwebengine/0012-chromium-musl-Match-syscalls-to-match-musl.patch | |||
@@ -1,18 +1,18 @@ | |||
1 | From 5843df01580b0fb956ee4b7e1a60c0130c8c90f9 Mon Sep 17 00:00:00 2001 | 1 | From ad184ecc5e5e67d1f3862e9ed3f767dff9bbc414 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 15:24:49 -0700 | 3 | Date: Fri, 7 Jul 2017 15:24:49 -0700 |
4 | Subject: [PATCH 09/12] Match syscalls to match musl | 4 | Subject: [PATCH] chromium: musl: Match syscalls to match musl |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
8 | third_party/lss/linux_syscall_support.h | 16 ++++++++++++++++ | 8 | chromium/third_party/lss/linux_syscall_support.h | 16 ++++++++++++++++ |
9 | 1 file changed, 16 insertions(+) | 9 | 1 file changed, 16 insertions(+) |
10 | 10 | ||
11 | diff --git a/third_party/lss/linux_syscall_support.h b/third_party/lss/linux_syscall_support.h | 11 | diff --git a/chromium/third_party/lss/linux_syscall_support.h b/chromium/third_party/lss/linux_syscall_support.h |
12 | index 9dbd2391b..a715de177 100644 | 12 | index 8a42c1c868..8e878c70f2 100644 |
13 | --- a/third_party/lss/linux_syscall_support.h | 13 | --- a/chromium/third_party/lss/linux_syscall_support.h |
14 | +++ b/third_party/lss/linux_syscall_support.h | 14 | +++ b/chromium/third_party/lss/linux_syscall_support.h |
15 | @@ -793,6 +793,14 @@ struct kernel_statfs { | 15 | @@ -717,6 +717,14 @@ struct kernel_statfs { |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | 18 | ||
@@ -27,7 +27,7 @@ index 9dbd2391b..a715de177 100644 | |||
27 | #if defined(__x86_64__) | 27 | #if defined(__x86_64__) |
28 | #ifndef ARCH_SET_GS | 28 | #ifndef ARCH_SET_GS |
29 | #define ARCH_SET_GS 0x1001 | 29 | #define ARCH_SET_GS 0x1001 |
30 | @@ -1210,6 +1218,14 @@ struct kernel_statfs { | 30 | @@ -1134,6 +1142,14 @@ struct kernel_statfs { |
31 | #ifndef __NR_fallocate | 31 | #ifndef __NR_fallocate |
32 | #define __NR_fallocate 285 | 32 | #define __NR_fallocate 285 |
33 | #endif | 33 | #endif |
@@ -42,6 +42,3 @@ index 9dbd2391b..a715de177 100644 | |||
42 | /* End of x86-64 definitions */ | 42 | /* End of x86-64 definitions */ |
43 | #elif defined(__mips__) | 43 | #elif defined(__mips__) |
44 | #if _MIPS_SIM == _MIPS_SIM_ABI32 | 44 | #if _MIPS_SIM == _MIPS_SIM_ABI32 |
45 | -- | ||
46 | 2.13.2 | ||
47 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0010-Define-res_ninit-and-res_nclose-for-non-glibc-platfo.patch b/recipes-qt/qt5/qtwebengine/0013-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch index 1825ed7b..68b8f45d 100644 --- a/recipes-qt/qt5/qtwebengine/0010-Define-res_ninit-and-res_nclose-for-non-glibc-platfo.patch +++ b/recipes-qt/qt5/qtwebengine/0013-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch | |||
@@ -1,20 +1,21 @@ | |||
1 | From df3fd62f7f0c51c11e7f715c2523418c31eb6b0f Mon Sep 17 00:00:00 2001 | 1 | From c892406f07b4e214397c55de62eccac3d558b134 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 15:27:50 -0700 | 3 | Date: Fri, 7 Jul 2017 15:27:50 -0700 |
4 | Subject: [PATCH 10/12] Define res_ninit and res_nclose for non-glibc platforms | 4 | Subject: [PATCH] chromium: musl: Define res_ninit and res_nclose for non-glibc |
5 | platforms | ||
5 | 6 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 8 | --- |
8 | net/dns/dns_config_service_posix.cc | 4 ++++ | 9 | chromium/net/dns/dns_config_service_posix.cc | 4 ++++ |
9 | net/dns/dns_reloader.cc | 4 ++++ | 10 | chromium/net/dns/dns_reloader.cc | 4 ++++ |
10 | net/dns/resolv_compat.h | 29 +++++++++++++++++++++++++++++ | 11 | chromium/net/dns/resolv_compat.h | 29 ++++++++++++++++++++++++++++ |
11 | 3 files changed, 37 insertions(+) | 12 | 3 files changed, 37 insertions(+) |
12 | create mode 100644 net/dns/resolv_compat.h | 13 | create mode 100644 chromium/net/dns/resolv_compat.h |
13 | 14 | ||
14 | diff --git a/net/dns/dns_config_service_posix.cc b/net/dns/dns_config_service_posix.cc | 15 | diff --git a/chromium/net/dns/dns_config_service_posix.cc b/chromium/net/dns/dns_config_service_posix.cc |
15 | index ba8a36913..e9b40d07f 100644 | 16 | index ba8a369133..e9b40d07fc 100644 |
16 | --- a/net/dns/dns_config_service_posix.cc | 17 | --- a/chromium/net/dns/dns_config_service_posix.cc |
17 | +++ b/net/dns/dns_config_service_posix.cc | 18 | +++ b/chromium/net/dns/dns_config_service_posix.cc |
18 | @@ -25,6 +25,10 @@ | 19 | @@ -25,6 +25,10 @@ |
19 | #include "net/dns/notify_watcher_mac.h" | 20 | #include "net/dns/notify_watcher_mac.h" |
20 | #include "net/dns/serial_worker.h" | 21 | #include "net/dns/serial_worker.h" |
@@ -26,10 +27,10 @@ index ba8a36913..e9b40d07f 100644 | |||
26 | #if defined(OS_MACOSX) && !defined(OS_IOS) | 27 | #if defined(OS_MACOSX) && !defined(OS_IOS) |
27 | #include "net/dns/dns_config_watcher_mac.h" | 28 | #include "net/dns/dns_config_watcher_mac.h" |
28 | #endif | 29 | #endif |
29 | diff --git a/net/dns/dns_reloader.cc b/net/dns/dns_reloader.cc | 30 | diff --git a/chromium/net/dns/dns_reloader.cc b/chromium/net/dns/dns_reloader.cc |
30 | index 74534e6b1..2780a776e 100644 | 31 | index 74534e6b1b..2780a776e4 100644 |
31 | --- a/net/dns/dns_reloader.cc | 32 | --- a/chromium/net/dns/dns_reloader.cc |
32 | +++ b/net/dns/dns_reloader.cc | 33 | +++ b/chromium/net/dns/dns_reloader.cc |
33 | @@ -9,6 +9,10 @@ | 34 | @@ -9,6 +9,10 @@ |
34 | 35 | ||
35 | #include <resolv.h> | 36 | #include <resolv.h> |
@@ -41,11 +42,11 @@ index 74534e6b1..2780a776e 100644 | |||
41 | #include "base/lazy_instance.h" | 42 | #include "base/lazy_instance.h" |
42 | #include "base/logging.h" | 43 | #include "base/logging.h" |
43 | #include "base/macros.h" | 44 | #include "base/macros.h" |
44 | diff --git a/net/dns/resolv_compat.h b/net/dns/resolv_compat.h | 45 | diff --git a/chromium/net/dns/resolv_compat.h b/chromium/net/dns/resolv_compat.h |
45 | new file mode 100644 | 46 | new file mode 100644 |
46 | index 000000000..4f0e852a1 | 47 | index 0000000000..4f0e852a19 |
47 | --- /dev/null | 48 | --- /dev/null |
48 | +++ b/net/dns/resolv_compat.h | 49 | +++ b/chromium/net/dns/resolv_compat.h |
49 | @@ -0,0 +1,29 @@ | 50 | @@ -0,0 +1,29 @@ |
50 | +#if !defined(__GLIBC__) | 51 | +#if !defined(__GLIBC__) |
51 | +/*************************************************************************** | 52 | +/*************************************************************************** |
@@ -76,6 +77,3 @@ index 000000000..4f0e852a1 | |||
76 | + return 0; | 77 | + return 0; |
77 | +} | 78 | +} |
78 | +#endif | 79 | +#endif |
79 | -- | ||
80 | 2.13.2 | ||
81 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0013-include-asm-generic-ioctl.h-for-TCGETS2.patch b/recipes-qt/qt5/qtwebengine/0013-include-asm-generic-ioctl.h-for-TCGETS2.patch deleted file mode 100644 index abe2eaf8..00000000 --- a/recipes-qt/qt5/qtwebengine/0013-include-asm-generic-ioctl.h-for-TCGETS2.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | From d5014cf9a97cf97a6e9bb7f751c7cee3c24e17fd Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 7 Jul 2017 17:15:34 -0700 | ||
4 | Subject: [PATCH 1/2] include asm-generic/ioctl.h for TCGETS2 | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | device/serial/serial_io_handler_posix.cc | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/device/serial/serial_io_handler_posix.cc b/device/serial/serial_io_handler_posix.cc | ||
12 | index 158c374a0..c08fb4a8e 100644 | ||
13 | --- a/device/serial/serial_io_handler_posix.cc | ||
14 | +++ b/device/serial/serial_io_handler_posix.cc | ||
15 | @@ -6,6 +6,7 @@ | ||
16 | |||
17 | #include <sys/ioctl.h> | ||
18 | #include <termios.h> | ||
19 | +#include <asm-generic/ioctls.h> | ||
20 | |||
21 | #include "base/posix/eintr_wrapper.h" | ||
22 | #include "build/build_config.h" | ||
23 | -- | ||
24 | 2.13.2 | ||
25 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0011-Do-not-define-__sbrk-on-musl.patch b/recipes-qt/qt5/qtwebengine/0014-chromium-musl-Do-not-define-__sbrk-on-musl.patch index a2c2b901..c9801899 100644 --- a/recipes-qt/qt5/qtwebengine/0011-Do-not-define-__sbrk-on-musl.patch +++ b/recipes-qt/qt5/qtwebengine/0014-chromium-musl-Do-not-define-__sbrk-on-musl.patch | |||
@@ -1,20 +1,20 @@ | |||
1 | From 8a6553232988a5bfc8f0c48d4214a3982025fb2c Mon Sep 17 00:00:00 2001 | 1 | From be624e7cc1bc18e9e198bba16fcb224a7f9746fc Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 15:39:57 -0700 | 3 | Date: Fri, 7 Jul 2017 15:39:57 -0700 |
4 | Subject: [PATCH 11/12] Do not define __sbrk on musl | 4 | Subject: [PATCH] chromium: musl: Do not define __sbrk on musl |
5 | 5 | ||
6 | musl libc does not have sbrk. on musl libc will only work when called with 0 as | 6 | musl libc does not have sbrk. on musl libc will only work when called with 0 as |
7 | argument, so we just let it out for now | 7 | argument, so we just let it out for now |
8 | 8 | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
10 | --- | 10 | --- |
11 | third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 2 +- | 11 | chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 2 +- |
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
13 | 13 | ||
14 | diff --git a/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 14 | diff --git a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
15 | index edc8cf2db..a868b50d3 100644 | 15 | index edc8cf2db7..a868b50d30 100644 |
16 | --- a/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 16 | --- a/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
17 | +++ b/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h | 17 | +++ b/chromium/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
18 | @@ -233,7 +233,7 @@ extern "C" void* mremap(void* old_addr, size_t old_size, size_t new_size, | 18 | @@ -233,7 +233,7 @@ extern "C" void* mremap(void* old_addr, size_t old_size, size_t new_size, |
19 | } | 19 | } |
20 | 20 | ||
@@ -24,6 +24,3 @@ index edc8cf2db..a868b50d3 100644 | |||
24 | // libc's version: | 24 | // libc's version: |
25 | extern "C" void* __sbrk(ptrdiff_t increment); | 25 | extern "C" void* __sbrk(ptrdiff_t increment); |
26 | 26 | ||
27 | -- | ||
28 | 2.13.2 | ||
29 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0012-Adjust-default-pthread-stack-size.patch b/recipes-qt/qt5/qtwebengine/0015-chromium-musl-Adjust-default-pthread-stack-size.patch index de2ec97d..997e3124 100644 --- a/recipes-qt/qt5/qtwebengine/0012-Adjust-default-pthread-stack-size.patch +++ b/recipes-qt/qt5/qtwebengine/0015-chromium-musl-Adjust-default-pthread-stack-size.patch | |||
@@ -1,19 +1,18 @@ | |||
1 | From 65d516f64c1cca91868cb26aeb93802382704fd5 Mon Sep 17 00:00:00 2001 | 1 | From 295fd835b22203807962a3eea08a12b74ae54c2c Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 16:41:23 -0700 | 3 | Date: Fri, 7 Jul 2017 16:41:23 -0700 |
4 | Subject: [PATCH 1/2] Adjust default pthread stack size | 4 | Subject: [PATCH] chromium: musl: Adjust default pthread stack size |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
8 | base/threading/platform_thread_linux.cc | 3 ++- | 8 | chromium/base/threading/platform_thread_linux.cc | 3 ++- |
9 | chrome/browser/chrome_browser_main_posix.cc | 9 +++++++++ | 9 | chromium/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp | 4 ++-- |
10 | third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp | 4 ++-- | 10 | 2 files changed, 4 insertions(+), 3 deletions(-) |
11 | 3 files changed, 13 insertions(+), 3 deletions(-) | ||
12 | 11 | ||
13 | diff --git a/base/threading/platform_thread_linux.cc b/base/threading/platform_thread_linux.cc | 12 | diff --git a/chromium/base/threading/platform_thread_linux.cc b/chromium/base/threading/platform_thread_linux.cc |
14 | index 95ed32418..666e85ba3 100644 | 13 | index 95ed32418f..666e85ba33 100644 |
15 | --- a/base/threading/platform_thread_linux.cc | 14 | --- a/chromium/base/threading/platform_thread_linux.cc |
16 | +++ b/base/threading/platform_thread_linux.cc | 15 | +++ b/chromium/base/threading/platform_thread_linux.cc |
17 | @@ -96,7 +96,8 @@ void TerminateOnThread() {} | 16 | @@ -96,7 +96,8 @@ void TerminateOnThread() {} |
18 | 17 | ||
19 | size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes) { | 18 | size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes) { |
@@ -24,10 +23,10 @@ index 95ed32418..666e85ba3 100644 | |||
24 | #else | 23 | #else |
25 | // ThreadSanitizer bloats the stack heavily. Evidence has been that the | 24 | // ThreadSanitizer bloats the stack heavily. Evidence has been that the |
26 | // default stack size isn't enough for some browser tests. | 25 | // default stack size isn't enough for some browser tests. |
27 | diff --git a/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp b/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp | 26 | diff --git a/chromium/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp b/chromium/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp |
28 | index 3c0a0395b..2af6073e2 100644 | 27 | index 3c0a0395b1..2af6073e21 100644 |
29 | --- a/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp | 28 | --- a/chromium/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp |
30 | +++ b/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp | 29 | +++ b/chromium/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp |
31 | @@ -73,7 +73,7 @@ size_t StackFrameDepth::getUnderestimatedStackSize() | 30 | @@ -73,7 +73,7 @@ size_t StackFrameDepth::getUnderestimatedStackSize() |
32 | // FIXME: On Mac OSX and Linux, this method cannot estimate stack size | 31 | // FIXME: On Mac OSX and Linux, this method cannot estimate stack size |
33 | // correctly for the main thread. | 32 | // correctly for the main thread. |
@@ -46,6 +45,3 @@ index 3c0a0395b..2af6073e2 100644 | |||
46 | pthread_attr_t attr; | 45 | pthread_attr_t attr; |
47 | int error; | 46 | int error; |
48 | #if OS(FREEBSD) | 47 | #if OS(FREEBSD) |
49 | -- | ||
50 | 2.13.2 | ||
51 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0016-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch b/recipes-qt/qt5/qtwebengine/0016-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch new file mode 100644 index 00000000..2e80de8c --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/0016-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | From 91d9e3476c6432ae9ea8f8c0a9f6c435be844da0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 7 Jul 2017 17:15:34 -0700 | ||
4 | Subject: [PATCH] chromium: musl: include asm-generic/ioctl.h for TCGETS2 | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | chromium/device/serial/serial_io_handler_posix.cc | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/chromium/device/serial/serial_io_handler_posix.cc b/chromium/device/serial/serial_io_handler_posix.cc | ||
12 | index 158c374a03..c08fb4a8ec 100644 | ||
13 | --- a/chromium/device/serial/serial_io_handler_posix.cc | ||
14 | +++ b/chromium/device/serial/serial_io_handler_posix.cc | ||
15 | @@ -6,6 +6,7 @@ | ||
16 | |||
17 | #include <sys/ioctl.h> | ||
18 | #include <termios.h> | ||
19 | +#include <asm-generic/ioctls.h> | ||
20 | |||
21 | #include "base/posix/eintr_wrapper.h" | ||
22 | #include "build/build_config.h" | ||
diff --git a/recipes-qt/qt5/qtwebengine/0014-link-with-libexecinfo-on-musl.patch b/recipes-qt/qt5/qtwebengine/0017-chromium-musl-link-with-libexecinfo-on-musl.patch index 1b65420b..5e28adb7 100644 --- a/recipes-qt/qt5/qtwebengine/0014-link-with-libexecinfo-on-musl.patch +++ b/recipes-qt/qt5/qtwebengine/0017-chromium-musl-link-with-libexecinfo-on-musl.patch | |||
@@ -1,17 +1,17 @@ | |||
1 | From 4b5aab95e34e1cbebc7566c1267cddc2560601c8 Mon Sep 17 00:00:00 2001 | 1 | From a8163b060b699aa6678c45c970f4fbc806a6c198 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Jul 2017 17:41:43 -0700 | 3 | Date: Fri, 7 Jul 2017 17:41:43 -0700 |
4 | Subject: [PATCH 2/2] link with libexecinfo on musl | 4 | Subject: [PATCH] chromium: musl: link with libexecinfo on musl |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
8 | base/base.gyp | 1 + | 8 | chromium/base/base.gyp | 1 + |
9 | 1 file changed, 1 insertion(+) | 9 | 1 file changed, 1 insertion(+) |
10 | 10 | ||
11 | diff --git a/base/base.gyp b/base/base.gyp | 11 | diff --git a/chromium/base/base.gyp b/chromium/base/base.gyp |
12 | index 67e051ae4..7f5dfe214 100644 | 12 | index 3c3aded640..347b7e7856 100644 |
13 | --- a/base/base.gyp | 13 | --- a/chromium/base/base.gyp |
14 | +++ b/base/base.gyp | 14 | +++ b/chromium/base/base.gyp |
15 | @@ -126,6 +126,7 @@ | 15 | @@ -126,6 +126,7 @@ |
16 | '-lrt', | 16 | '-lrt', |
17 | # For 'native_library_linux.cc' | 17 | # For 'native_library_linux.cc' |
@@ -20,6 +20,3 @@ index 67e051ae4..7f5dfe214 100644 | |||
20 | ], | 20 | ], |
21 | }, | 21 | }, |
22 | 'conditions': [ | 22 | 'conditions': [ |
23 | -- | ||
24 | 2.13.2 | ||
25 | |||
diff --git a/recipes-qt/qt5/qtwebengine/0018-tcmalloc-Use-off64_t-insread-of-__off64_t.patch b/recipes-qt/qt5/qtwebengine/0018-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch index 2ef54339..fe141aa8 100644 --- a/recipes-qt/qt5/qtwebengine/0018-tcmalloc-Use-off64_t-insread-of-__off64_t.patch +++ b/recipes-qt/qt5/qtwebengine/0018-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch | |||
@@ -1,17 +1,17 @@ | |||
1 | From 1a468dd5239ebdf013d9ffb3a2d181d0434b4c6c Mon Sep 17 00:00:00 2001 | 1 | From d05c22bdabe10c0db9b65252e442251efc81a379 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 8 Jul 2017 09:08:23 -0700 | 3 | Date: Sat, 8 Jul 2017 09:08:23 -0700 |
4 | Subject: [PATCH 2/2] tcmalloc: Use off64_t insread of __off64_t | 4 | Subject: [PATCH] chromium: musl: tcmalloc: Use off64_t insread of __off64_t |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
8 | third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | 2 +- | 8 | chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
10 | 10 | ||
11 | diff --git a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | 11 | diff --git a/chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h b/chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h |
12 | index b53dd46c5..58da4d19d 100644 | 12 | index b53dd46c57..58da4d19d7 100644 |
13 | --- a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | 13 | --- a/chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h |
14 | +++ b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h | 14 | +++ b/chromium/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h |
15 | @@ -1930,7 +1930,7 @@ typedef unsigned long int ulong; | 15 | @@ -1930,7 +1930,7 @@ typedef unsigned long int ulong; |
16 | #if defined(__x86_64__) | 16 | #if defined(__x86_64__) |
17 | /* Need to make sure __off64_t isn't truncated to 32-bits under x32. */ | 17 | /* Need to make sure __off64_t isn't truncated to 32-bits under x32. */ |
@@ -21,6 +21,3 @@ index b53dd46c5..58da4d19d 100644 | |||
21 | LSS_BODY(6, void*, mmap, LSS_SYSCALL_ARG(s), LSS_SYSCALL_ARG(l), | 21 | LSS_BODY(6, void*, mmap, LSS_SYSCALL_ARG(s), LSS_SYSCALL_ARG(l), |
22 | LSS_SYSCALL_ARG(p), LSS_SYSCALL_ARG(f), | 22 | LSS_SYSCALL_ARG(p), LSS_SYSCALL_ARG(f), |
23 | LSS_SYSCALL_ARG(d), (uint64_t)(o)); | 23 | LSS_SYSCALL_ARG(d), (uint64_t)(o)); |
24 | -- | ||
25 | 2.13.2 | ||
26 | |||
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 033bdaae..84c46688 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -133,20 +133,20 @@ SRC_URI += " \ | |||
133 | file://0004-chromium-WebKit-fix-build-with-gcc7.patch;patchdir=src/3rdparty \ | 133 | file://0004-chromium-WebKit-fix-build-with-gcc7.patch;patchdir=src/3rdparty \ |
134 | " | 134 | " |
135 | SRC_URI_append_libc-musl = "\ | 135 | SRC_URI_append_libc-musl = "\ |
136 | file://0001-sandbox-Define-TEMP_FAILURE_RETRY-if-not-defined.patch;patchdir=src/3rdparty/chromium \ | 136 | file://0005-chromium-musl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch;patchdir=src/3rdparty \ |
137 | file://0003-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty/chromium \ | 137 | file://0006-chromium-musl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch;patchdir=src/3rdparty \ |
138 | file://0004-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty/chromium \ | 138 | file://0007-chromium-musl-include-fcntl.h-for-loff_t.patch;patchdir=src/3rdparty \ |
139 | file://0005-use-off64_t-instead-of-the-internal-__off64_t.patch;patchdir=src/3rdparty/chromium \ | 139 | file://0008-chromium-musl-use-off64_t-instead-of-the-internal-__.patch;patchdir=src/3rdparty \ |
140 | file://0006-linux-glibc-make-the-distinction.patch;patchdir=src/3rdparty/chromium \ | 140 | file://0009-chromium-musl-linux-glibc-make-the-distinction.patch;patchdir=src/3rdparty \ |
141 | file://0007-allocator-Do-not-include-glibc_weak_symbols-for-musl.patch;patchdir=src/3rdparty/chromium \ | 141 | file://0010-chromium-musl-allocator-Do-not-include-glibc_weak_sy.patch;patchdir=src/3rdparty \ |
142 | file://0008-Use-correct-member-name-__si_fields-from-LinuxSigInf.patch;patchdir=src/3rdparty/chromium \ | 142 | file://0011-chromium-musl-Use-correct-member-name-__si_fields-fr.patch;patchdir=src/3rdparty \ |
143 | file://0009-Match-syscalls-to-match-musl.patch;patchdir=src/3rdparty/chromium \ | 143 | file://0012-chromium-musl-Match-syscalls-to-match-musl.patch;patchdir=src/3rdparty \ |
144 | file://0010-Define-res_ninit-and-res_nclose-for-non-glibc-platfo.patch;patchdir=src/3rdparty/chromium \ | 144 | file://0013-chromium-musl-Define-res_ninit-and-res_nclose-for-no.patch;patchdir=src/3rdparty \ |
145 | file://0011-Do-not-define-__sbrk-on-musl.patch;patchdir=src/3rdparty/chromium \ | 145 | file://0014-chromium-musl-Do-not-define-__sbrk-on-musl.patch;patchdir=src/3rdparty \ |
146 | file://0012-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty/chromium \ | 146 | file://0015-chromium-musl-Adjust-default-pthread-stack-size.patch;patchdir=src/3rdparty \ |
147 | file://0013-include-asm-generic-ioctl.h-for-TCGETS2.patch;patchdir=src/3rdparty/chromium \ | 147 | file://0016-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch;patchdir=src/3rdparty \ |
148 | file://0014-link-with-libexecinfo-on-musl.patch;patchdir=src/3rdparty/chromium \ | 148 | file://0017-chromium-musl-link-with-libexecinfo-on-musl.patch;patchdir=src/3rdparty \ |
149 | file://0018-tcmalloc-Use-off64_t-insread-of-__off64_t.patch;patchdir=src/3rdparty/chromium \ | 149 | file://0018-chromium-musl-tcmalloc-Use-off64_t-insread-of-__off6.patch;patchdir=src/3rdparty \ |
150 | " | 150 | " |
151 | 151 | ||
152 | SRCREV_qtwebengine = "d740d6a7dbfec387752c7bc8a8b06db0e757c9dc" | 152 | SRCREV_qtwebengine = "d740d6a7dbfec387752c7bc8a8b06db0e757c9dc" |