1 |
commit: 0ccf828858909a3d535e7143ac431ef56173a056 |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 30 14:13:45 2019 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 30 14:13:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=0ccf8288 |
7 |
|
8 |
mail-client/thunderbird: fix ppc64le support and linux-headers-5.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
11 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
12 |
|
13 |
mail-client/thunderbird/Manifest | 2 +- |
14 |
.../mozilla-bug1554949-linux-headers-5.2.patch | 46 ++++++++++++++++++++++ |
15 |
mail-client/thunderbird/thunderbird-68.0-r1.ebuild | 3 +- |
16 |
3 files changed, 49 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest |
19 |
index 38785ee..6e01583 100644 |
20 |
--- a/mail-client/thunderbird/Manifest |
21 |
+++ b/mail-client/thunderbird/Manifest |
22 |
@@ -1,5 +1,5 @@ |
23 |
DIST firefox-60.6-patches-07.tar.xz 37404 BLAKE2B 5516ff768bee0253131381fdba3e08785ab31bb29e44ad7f7e2956fb7624fafc9bf22f892ddbd0617e5e7d18500686a9975a60ea77d23a2853f35936cd142030 SHA512 3c4160e632155b0a239e22d0c1b1c701545b0f6d0915f9bdcf3b8431cee1abf650191ffafc5c3224a61279c8b1b52a80444c811a3914e16127411991c963292b |
24 |
-DIST firefox-68.0-patches-10.tar.xz 14668 BLAKE2B 071e3377c0be2035e3f16c0b4492ebc681e6bf9da929d9a565d80a0d1c1f85a81330418a1b30fbaa0a6d7eecb9b2f189416882dafdb879feea98c9911c52493f SHA512 d424be80d68c84d3f561cbdfb487344308ba6af84d07cc16fe0631bfd609dce0e81fd2f7516c5fc1e1e359eacb3e06a4bde83cebf3909427f7e641b17e28f3d5 |
25 |
+DIST firefox-68.0-patches-11.tar.xz 15404 BLAKE2B 5322c64f7605e30aa1daf650cea19b66ce6c305d2862d76c4a4103676392cbd3029a8f35cbe8ed8077ac7cfe8194c08a0cd3cf25fef75c62a086077d0c5a419a SHA512 1897303b6864ca941afe6ee1d95fd975fb29a01f52d68f9f42c1a9a62d7e4fee0a797aa169b58dc4cf068916e01edaf5c9ad8ade23a997e52c37bd393a142ade |
26 |
DIST gdata-provider-4.4.1.tar.xz 78728 BLAKE2B bfe04d714334c38c932d2186ffd859583176ef455b283534c5f8f9e1ab7dc13bdfb8c15db6007de482ab015afc2b8524aad725380bec75ee5f59ea81d6307ba9 SHA512 6c9b5ac41a1064bd1799d2a2f633c3064b27f1294ac3c8908cdef6c1d2eea7b602f2f7bf240b71f507fe9ad286588f030e12f49a41b3bed7bbcc99f3021369f9 |
27 |
DIST lightning-6.2.5.tar.xz 1745976 BLAKE2B 31e237f8d34ab2a2ac522767460467257d1f49d15fbe24f5b80dde9fb709ffafd0c0442d99c6643ce434cf7bdf0d670447f86da9fcdadc7ada6814431ef41e8a SHA512 1e997bb91d484908f225cc6e971874d308e8a8e2451a3e678f8a74bcb9e360babbd1f8aebcafb3e628ef5b10eb697ee47af2bfedbc956fee71d99084c8816235 |
28 |
DIST thunderbird-60.0-patches-0.tar.xz 10292 BLAKE2B a81ac6708389baff21accccac1511c1fc372324cac8bb3ee0f3b5d2a0690b6e22ef658b41c887b99168b43c4ea4bb0947d3e48ad9b7e80db558db22c976df868 SHA512 1dae465676b2ff4faae08ebf69e6bac46552bc0331659bf5f444c45b026e4c8d2fc46cd3758e3bd121716aa85d5dcc56de6483919f7f0077b9d9720574dbd1aa |
29 |
|
30 |
diff --git a/mail-client/thunderbird/files/mozilla-bug1554949-linux-headers-5.2.patch b/mail-client/thunderbird/files/mozilla-bug1554949-linux-headers-5.2.patch |
31 |
new file mode 100644 |
32 |
index 0000000..2de1250 |
33 |
--- /dev/null |
34 |
+++ b/mail-client/thunderbird/files/mozilla-bug1554949-linux-headers-5.2.patch |
35 |
@@ -0,0 +1,46 @@ |
36 |
+# HG changeset patch |
37 |
+# User Emilio Cobos Álvarez <emilio@××××××.io> |
38 |
+# Date 1559048542 0 |
39 |
+# Node ID 03fe96d5969ac6885ca539bf7759780ed75a1375 |
40 |
+# Parent e6cf9d0df0793e7f76cb2877989fc5aeca98e530 |
41 |
+Bug 1554949 - Fix WebRTC build failure with newer linux kernel. r=dminor, a=RyanVM DONTBUILD |
42 |
+ |
43 |
+Recent kernel commit[1] moved a bit the define for this constant. This revealed |
44 |
+a missing include in WebRTC. |
45 |
+ |
46 |
+I filed this upstream in: |
47 |
+ |
48 |
+ * https://bugs.chromium.org/p/webrtc/issues/detail?id=10677 |
49 |
+ |
50 |
+And sent a patch in: |
51 |
+ |
52 |
+ * https://webrtc-review.googlesource.com/c/src/+/138270 |
53 |
+ |
54 |
+[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0768e17073dc5 |
55 |
+ |
56 |
+Differential Revision: https://phabricator.services.mozilla.com/D32809 |
57 |
+ |
58 |
+diff --git a/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc b/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc |
59 |
+--- a/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc |
60 |
++++ b/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc |
61 |
+@@ -56,16 +56,19 @@ |
62 |
+ #if defined(WEBRTC_POSIX) |
63 |
+ #include <netinet/tcp.h> // for TCP_NODELAY |
64 |
+ #define IP_MTU 14 // Until this is integrated from linux/in.h to netinet/in.h |
65 |
+ typedef void* SockOptArg; |
66 |
+ |
67 |
+ #endif // WEBRTC_POSIX |
68 |
+ |
69 |
+ #if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(WEBRTC_BSD) && !defined(__native_client__) |
70 |
++#if defined(WEBRTC_LINUX) |
71 |
++#include <linux/sockios.h> |
72 |
++#endif |
73 |
+ |
74 |
+ int64_t GetSocketRecvTimestamp(int socket) { |
75 |
+ struct timeval tv_ioctl; |
76 |
+ int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl); |
77 |
+ if (ret != 0) |
78 |
+ return -1; |
79 |
+ int64_t timestamp = |
80 |
+ rtc::kNumMicrosecsPerSec * static_cast<int64_t>(tv_ioctl.tv_sec) + |
81 |
+ |
82 |
|
83 |
diff --git a/mail-client/thunderbird/thunderbird-68.0-r1.ebuild b/mail-client/thunderbird/thunderbird-68.0-r1.ebuild |
84 |
index 10755b9..813aba3 100644 |
85 |
--- a/mail-client/thunderbird/thunderbird-68.0-r1.ebuild |
86 |
+++ b/mail-client/thunderbird/thunderbird-68.0-r1.ebuild |
87 |
@@ -21,7 +21,7 @@ sv-SE tr uk vi zh-CN zh-TW ) |
88 |
MOZ_PV="${PV/_beta/b}" |
89 |
|
90 |
# Patches |
91 |
-PATCHFF="firefox-68.0-patches-10" |
92 |
+PATCHFF="firefox-68.0-patches-11" |
93 |
|
94 |
MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases" |
95 |
|
96 |
@@ -252,6 +252,7 @@ src_unpack() { |
97 |
src_prepare() { |
98 |
# Apply firefox patchset then apply thunderbird patches |
99 |
eapply "${WORKDIR}/firefox" |
100 |
+ eapply "${FILESDIR}/mozilla-bug1554949-linux-headers-5.2.patch" |
101 |
pushd "${S}"/comm &>/dev/null || die |
102 |
eapply "${FILESDIR}/1000_fix_gentoo_preferences.patch" |
103 |
popd &>/dev/null || die |