diff options
author | Mike Gilbert <floppym@gentoo.org> | 2019-03-17 16:50:47 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-03-17 16:51:21 -0400 |
commit | 3689dcb0330fdf694a3655b05732c0b14527ad42 (patch) | |
tree | a07815704089e9efeed6c680dfbd613c26ff54ad /www-client | |
parent | mate-extra/mate-polkit: Version bump (v1.22.0) (diff) | |
download | gentoo-3689dcb0330fdf694a3655b05732c0b14527ad42.tar.gz gentoo-3689dcb0330fdf694a3655b05732c0b14527ad42.tar.bz2 gentoo-3689dcb0330fdf694a3655b05732c0b14527ad42.zip |
www-client/chromium: apply fix for SafeBrowsing
Thanks to Maciej S. Szmigiero for the patch.
Closes: https://bugs.gentoo.org/674504
Package-Manager: Portage-2.3.62, Repoman-2.3.12_p83
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/chromium-73.0.3683.75.ebuild | 1 | ||||
-rw-r--r-- | www-client/chromium/files/chromium-fix-char_traits.patch | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/www-client/chromium/chromium-73.0.3683.75.ebuild b/www-client/chromium/chromium-73.0.3683.75.ebuild index d43a6036c46b..e02966e7154b 100644 --- a/www-client/chromium/chromium-73.0.3683.75.ebuild +++ b/www-client/chromium/chromium-73.0.3683.75.ebuild @@ -141,6 +141,7 @@ GTK+ icon theme. PATCHES=( "${FILESDIR}/chromium-compiler-r7.patch" "${FILESDIR}/chromium-widevine-r4.patch" + "${FILESDIR}/chromium-fix-char_traits.patch" "${FILESDIR}/chromium-73-gcc-0.patch" "${FILESDIR}/chromium-73-gcc-1.patch" "${FILESDIR}/chromium-73-gcc-2.patch" diff --git a/www-client/chromium/files/chromium-fix-char_traits.patch b/www-client/chromium/files/chromium-fix-char_traits.patch new file mode 100644 index 000000000000..4cb9503a93f4 --- /dev/null +++ b/www-client/chromium/files/chromium-fix-char_traits.patch @@ -0,0 +1,14 @@ +--- a/base/strings/char_traits.h ++++ b/base/strings/char_traits.h +@@ -67,9 +67,9 @@ + return __builtin_memcmp(s1, s2, n); + #else + for (; n; --n, ++s1, ++s2) { +- if (*s1 < *s2) ++ if ((unsigned char)*s1 < (unsigned char)*s2) + return -1; +- if (*s1 > *s2) ++ if ((unsigned char)*s1 > (unsigned char)*s2) + return 1; + } + return 0; |