- Chromium 134.0.6988.2 (dev release 2025-01-31) - modified patches: fix_building_widevinecdm_with_chromium.patch (do not define WIDEVINE_CDM_VERSION_STRING, gone upstream) system-libdrm.patch (context update) - added patches: chromium-134-revert-allowlist.patch (avoid having to update gn on all targets) chromium-134-revert-rust-adler2.patch (revert rust change from adler to adler2 while we have 1.83) pthreadpool-revert-stdatomic-prep.patch pthreadpool-revert-stdatomic.patch (revert change to pthreadpool requiring std=c++23) 3b811ffd3cef9d11cda6812ac4d22dcfdbad7d0f.patch (revert) 025a94257380eadfad2d705129e5863fca0bf89e.patch (revert) - add to keeplibs: third_party/search_engines_data v8/third_party/rapidhash-v8 - drop from keeplibs: third_party/libavif (gone) (FIXME cleanup) OBS-URL: https://build.opensuse.org/request/show/1243622 OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium-beta?expand=0&rev=139
24 lines
633 B
Diff
24 lines
633 B
Diff
From c90640fae5aeb54c9569558447d7f51355d0368a Mon Sep 17 00:00:00 2001
|
|
From: Pedro Gonnet <gonnet@google.com>
|
|
Date: Thu, 9 Jan 2025 13:31:02 -0800
|
|
Subject: [PATCH] Wrap `#define _GNU_SOURCE` in an `#ifndef` in case it has
|
|
already been defined.
|
|
|
|
PiperOrigin-RevId: 713777960
|
|
|
|
diff --git a/src/pthreads.c b/src/pthreads.c
|
|
index 6f7829f..237edd2 100644
|
|
--- a/src/pthreads.c
|
|
+++ b/src/pthreads.c
|
|
@@ -8,7 +8,9 @@
|
|
// LICENSE file in the root directory of this source tree.
|
|
|
|
// Needed for syscall.
|
|
-#define _GNU_SOURCE
|
|
+#ifndef _GNU_SOURCE
|
|
+#define _GNU_SOURCE 1
|
|
+#endif // _GNU_SOURCE
|
|
|
|
/* Standard C headers */
|
|
#include <assert.h>
|