chromium: update to 58.0.3029.81.
This commit is contained in:
parent
af9c64dfa2
commit
5b95dc1987
|
@ -4,9 +4,9 @@
|
|||
- return 0;
|
||||
+ // use 8mb like glibc to avoid running out of space
|
||||
+ return (1 << 23);
|
||||
--- chrome/browser/chrome_browser_main_posix.cc.orig
|
||||
+++ chrome/browser/chrome_browser_main_posix.cc
|
||||
@@ -276,12 +276,20 @@
|
||||
--- chrome/app/shutdown_signal_handlers_posix.cc.orig
|
||||
+++ chrome/app/shutdown_signal_handlers_posix.cc
|
||||
@@ -184,12 +184,20 @@
|
||||
g_shutdown_pipe_read_fd = pipefd[0];
|
||||
g_shutdown_pipe_write_fd = pipefd[1];
|
||||
#if !defined(ADDRESS_SANITIZER) && !defined(KEEP_SHADOW_STACKS)
|
||||
|
@ -25,5 +25,5 @@
|
|||
+ const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 4 * 8; // match up musls 2k PTHREAD_STACK_MIN with glibcs 16k
|
||||
+# endif
|
||||
#endif
|
||||
// TODO(viettrungluu,willchan): crbug.com/29675 - This currently leaks, so
|
||||
// if you change this, you'll probably need to change the suppression.
|
||||
ShutdownDetector* detector = new ShutdownDetector(
|
||||
g_shutdown_pipe_read_fd, shutdown_callback, task_runner);
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
--- tools/gn/bootstrap/bootstrap.py.orig
|
||||
+++ tools/gn/bootstrap/bootstrap.py
|
||||
@@ -383,6 +383,7 @@
|
||||
'base/base_switches.cc',
|
||||
'base/build_time.cc',
|
||||
'base/callback_internal.cc',
|
||||
+ 'base/callback_helpers.cc',
|
||||
'base/command_line.cc',
|
||||
'base/debug/activity_tracker.cc',
|
||||
'base/debug/alias.cc',
|
|
@ -1,7 +1,7 @@
|
|||
--- base/debug/stack_trace_posix.cc.orig 2016-05-08 07:59:51.749087517 +0200
|
||||
+++ base/debug/stack_trace_posix.cc 2016-05-08 08:01:24.988950619 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
#if defined(__GLIBCXX__)
|
||||
--- base/debug/stack_trace_posix.cc.orig
|
||||
+++ base/debug/stack_trace_posix.cc
|
||||
@@ -26,7 +26,7 @@
|
||||
#if !defined(USE_SYMBOLIZE)
|
||||
#include <cxxabi.h>
|
||||
#endif
|
||||
-#if !defined(__UCLIBC__)
|
||||
|
@ -9,25 +9,25 @@
|
|||
#include <execinfo.h>
|
||||
#endif
|
||||
|
||||
@@ -75,7 +75,7 @@ void DemangleSymbols(std::string* text)
|
||||
@@ -80,7 +80,7 @@
|
||||
// Note: code in this function is NOT async-signal safe (std::string uses
|
||||
// malloc internally).
|
||||
|
||||
-#if defined(__GLIBCXX__) && !defined(__UCLIBC__)
|
||||
+#if defined(__GLIBCXX__) && defined(__GLIBC__)
|
||||
-#if !defined(__UCLIBC__)
|
||||
+#if defined(__GLIBC__)
|
||||
|
||||
std::string::size_type search_from = 0;
|
||||
while (search_from < text->size()) {
|
||||
@@ -112,7 +112,7 @@ void DemangleSymbols(std::string* text)
|
||||
@@ -116,7 +116,7 @@
|
||||
search_from = mangled_start + 2;
|
||||
}
|
||||
}
|
||||
|
||||
-#endif // defined(__GLIBCXX__) && !defined(__UCLIBC__)
|
||||
+#endif // defined(__GLIBCXX__) && defined(__GLIBC__)
|
||||
-#endif // !defined(__UCLIBC__)
|
||||
+#endif // defined(__GLIBC__)
|
||||
}
|
||||
#endif // !defined(USE_SYMBOLIZE)
|
||||
|
||||
@@ -124,7 +124,7 @@ class BacktraceOutputHandler {
|
||||
@@ -128,7 +128,7 @@
|
||||
virtual ~BacktraceOutputHandler() {}
|
||||
};
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
|||
void OutputPointer(void* pointer, BacktraceOutputHandler* handler) {
|
||||
// This should be more than enough to store a 64-bit number in hex:
|
||||
// 16 hex digits + 1 for null-terminator.
|
||||
@@ -201,7 +201,7 @@ void ProcessBacktrace(void *const *trace
|
||||
@@ -205,7 +205,7 @@
|
||||
}
|
||||
#endif // defined(USE_SYMBOLIZE)
|
||||
}
|
||||
|
@ -45,16 +45,16 @@
|
|||
|
||||
void PrintToStderr(const char* output) {
|
||||
// NOTE: This code MUST be async-signal safe (it's used by in-process
|
||||
@@ -716,7 +716,7 @@ StackTrace::StackTrace() {
|
||||
@@ -722,7 +722,7 @@
|
||||
// NOTE: This code MUST be async-signal safe (it's used by in-process
|
||||
// stack dumping signal handler). NO malloc or stdio is allowed here.
|
||||
|
||||
-#if !defined(__UCLIBC__)
|
||||
+#if defined(__GLIBC__)
|
||||
count = std::min(arraysize(trace_), count);
|
||||
|
||||
// Though the backtrace API man page does not list any possible negative
|
||||
// return values, we take no chance.
|
||||
count_ = base::saturated_cast<size_t>(backtrace(trace_, arraysize(trace_)));
|
||||
@@ -729,13 +729,13 @@ void StackTrace::Print() const {
|
||||
@@ -737,13 +737,13 @@
|
||||
// NOTE: This code MUST be async-signal safe (it's used by in-process
|
||||
// stack dumping signal handler). NO malloc or stdio is allowed here.
|
||||
|
||||
|
@ -81,15 +81,6 @@
|
|||
#include <cxxabi.h>
|
||||
#include <dlfcn.h>
|
||||
#include <execinfo.h>
|
||||
@@ -164,7 +164,7 @@
|
||||
}
|
||||
|
||||
void WTFGetBacktrace(void** stack, int* size) {
|
||||
-#if OS(MACOSX) || (OS(LINUX) && !defined(__UCLIBC__))
|
||||
+#if OS(MACOSX) || (OS(LINUX) && defined(__GLIBC__))
|
||||
*size = backtrace(stack, *size);
|
||||
#elif OS(WIN)
|
||||
// The CaptureStackBackTrace function is available in XP, but it is not
|
||||
@@ -215,7 +215,7 @@
|
||||
};
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'chromium'
|
||||
pkgname=chromium
|
||||
# See http://www.chromium.org/developers/calendar for the latest version
|
||||
version=57.0.2987.133
|
||||
version=58.0.3029.81
|
||||
revision=1
|
||||
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://www.chromium.org/"
|
||||
license="BSD"
|
||||
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
|
||||
checksum=70011770a7e522c92826a3af48d3fd28a46bf8042897d072d20c748cbf828cf7
|
||||
checksum=5ab61b7025a5143fa1b21713479b316ec7a98e262e79e84f9c9a9656179217cb
|
||||
|
||||
only_for_archs="i686 x86_64 x86_64-musl"
|
||||
lib32disabled=yes
|
||||
|
@ -18,7 +18,7 @@ nopie=yes # contains tools that are not PIE, enables PIE itself
|
|||
build_options="nacl"
|
||||
desc_option_nacl="Enable NaCL support"
|
||||
|
||||
hostmakedepends="yasm python pkg-config perl gperf bison ninja hwids
|
||||
hostmakedepends="yasm python pkg-config perl gperf bison ninja nodejs hwids
|
||||
libatomic-devel libevent-devel libglib-devel"
|
||||
makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
|
||||
libXi-devel libgcrypt-devel libgnome-keyring-devel cups-devel elfutils-devel
|
||||
|
@ -52,6 +52,11 @@ post_extract() {
|
|||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68853#c2
|
||||
sed -i '/config("compiler")/ a cflags_cc = [ "-fno-delete-null-pointer-checks" ]' \
|
||||
build/config/linux/BUILD.gn
|
||||
|
||||
# use system nodejs
|
||||
mkdir -p third_party/node/linux/node-linux-x64/bin
|
||||
ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
|
||||
|
||||
}
|
||||
do_configure() {
|
||||
local system="" bootstrap_conf="" conf=""
|
||||
|
|
Loading…
Reference in New Issue