Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a0d5e79c593bf7f4bc36167234a25a051f6b71fc

commit a0d5e79c593bf7f4bc36167234a25a051f6b71fc
Author: DeX77 <[email protected]>
Date:   Tue Nov 7 10:15:37 2017 +0100

chromium-browser-62.0.3202.89-1-x86_64

* version bump

diff --git a/source/xapps-extra/chromium-browser/FrugalBuild 
b/source/xapps-extra/chromium-browser/FrugalBuild
index cdefa71..f681643 100644
--- a/source/xapps-extra/chromium-browser/FrugalBuild
+++ b/source/xapps-extra/chromium-browser/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Marius Cirsta <[email protected]>

pkgname=chromium-browser
-pkgver=62.0.3202.75
+pkgver=62.0.3202.89
pkgrel=1
pkgdesc='Development version of Chromium browser'
url='http://www.chromium.org/'
@@ -27,14 +27,12 @@ 
source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
$pkgname.sh \
chromium-gn-bootstrap-r17.patch \
chromium-last-commit-position-r1.patch \
-       disable-tid-cache.patch \
chromium-widevine.patch )
-sha1sums=('f56d827a7b6f6f2b94ae277b7fb9f7e009b22221' \
+sha1sums=('9b6c72dc9a9dbba47dabfc7e19d5bc7e9b537dc3' \
'264b8e7c4e3273263d504e041e5e4d152677922c' \
'4c41d59b4d85a9f0443d6ca1dec456e50059dab5' \
'b786274d1601b57d7d4337a376bd04e430bdb98e' \
'd03e6465cd5a84580f9dad5d45f24ccd42bb71e6' \
-          '1aaafb6da4603ae778085f9064a6f47f18624371' \
'c5719d06e0b39dfd3ca74f9f42684f4ee7584ade')

chromium_path="chromium"
diff --git a/source/xapps-extra/chromium-browser/disable-tid-cache.patch 
b/source/xapps-extra/chromium-browser/disable-tid-cache.patch
deleted file mode 100644
index ba0bf45..0000000
--- a/source/xapps-extra/chromium-browser/disable-tid-cache.patch
+++ /dev/null
@@ -1,75 +0,0 @@
---- chromium-62.0.3202.62/sandbox/linux/services/namespace_sandbox.cc  
2017-10-17 21:10:48.000000000 +0200
-+++ chromium-62.0.3202.62.new/sandbox/linux/services/namespace_sandbox.cc      
2017-10-19 22:18:27.001856169 +0200
-@@ -23,7 +23,6 @@
- #include "base/posix/eintr_wrapper.h"
- #include "base/process/launch.h"
- #include "base/process/process.h"
--#include "build/build_config.h"
- #include "sandbox/linux/services/credentials.h"
- #include "sandbox/linux/services/namespace_utils.h"
- #include "sandbox/linux/services/syscall_wrappers.h"
-@@ -85,54 +84,6 @@
-   _exit(NamespaceSandbox::SignalExitCode(sig));
- }
-
--#if defined(LIBC_GLIBC)
--// The first few fields of glibc's struct pthread.  The full
--// definition is in:
--// 
https://sourceware.org/git/?p=glibc.git;a=blob;f=nptl/descr.h;hb=95a73392580761abc62fc9b1386d232cd55878e9#l121
--struct glibc_pthread {
--  union {
--#if defined(ARCH_CPU_X86_64)
--    // On x86_64, sizeof(tcbhead_t) > sizeof(void*)*24.
--    // 
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86_64/nptl/tls.h;hb=95a73392580761abc62fc9b1386d232cd55878e9#l65
--    // For all other architectures, sizeof(tcbhead_t) <= sizeof(void*)*24.
--    // 
https://sourceware.org/git/?p=glibc.git&a=search&h=HEAD&st=grep&s=%7D+tcbhead_t
--    char header[704];
--#endif
--    void* padding[24];
--  } header;
--  void* list[2];
--  pid_t tid;
--};
--
--pid_t GetGlibcCachedTid() {
--  pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
--  CHECK_EQ(0, pthread_mutex_init(&lock, nullptr));
--  CHECK_EQ(0, pthread_mutex_lock(&lock));
--  pid_t tid = lock.__data.__owner;
--  CHECK_EQ(0, pthread_mutex_unlock(&lock));
--  CHECK_EQ(0, pthread_mutex_destroy(&lock));
--  return tid;
--}
--
--void MaybeUpdateGlibcTidCache() {
--  // After the below CL, glibc does not does not reset the cached
--  // TID/PID on clone(), but pthread depends on it being up-to-date.
--  // This CL was introduced in glibc 2.25, and backported to 2.24 on
--  // at least Debian and Fedora.  This is a workaround that updates
--  // the cache manually.
--  // 
https://sourceware.org/git/?p=glibc.git;a=commit;h=c579f48edba88380635ab98cb612030e3ed8691e
--  pid_t real_tid = sys_gettid();
--  pid_t cached_tid = GetGlibcCachedTid();
--  if (cached_tid != real_tid) {
--    pid_t* cached_tid_location =
--        &reinterpret_cast<struct glibc_pthread*>(pthread_self())->tid;
--    CHECK_EQ(cached_tid, *cached_tid_location);
--    *cached_tid_location = real_tid;
--    CHECK_EQ(real_tid, GetGlibcCachedTid());
--  }
--}
--#endif  // defined(LIBC_GLIBC)
--
- }  // namespace
-
- #if !defined(OS_NACL_NONSFI)
-@@ -226,9 +177,6 @@
-       // Since we just forked, we are single-threaded, so this should be safe.
-       CHECK(Credentials::DropAllCapabilitiesOnCurrentThread());
-     }
--#if defined(LIBC_GLIBC)
--    MaybeUpdateGlibcTidCache();
--#endif
-     return 0;
-   }
-
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to