public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Update rust-clanglib patch for clang 21
@ 2026-08-07 16:07 Tom Stellard
  0 siblings, 0 replies; only message in thread
From: Tom Stellard @ 2026-08-07 16:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : 19700ea3b0b983b1792e84f01cc6b2bb211bfa9c
Author : Tom Stellard <tstellar@redhat.com>
Date   : 2025-07-11T14:23:56+00:00
Stats  : +6/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/19700ea3b0b983b1792e84f01cc6b2bb211bfa9c?branch=epel9-next

Log:
Update rust-clanglib patch for clang 21

---
diff --git a/chromium-135-rust-clanglib.patch b/chromium-135-rust-clanglib.patch
index b212606..d19cfd2 100644
--- a/chromium-135-rust-clanglib.patch
+++ b/chromium-135-rust-clanglib.patch
@@ -36,7 +36,7 @@ diff -up chromium-135.0.7049.84/build/config/clang/BUILD.gn.than chromium-135.0.
 +          assert(false)  # Unhandled cpu type
 +        }
 +        # different clang lib dir in fedora/epel
-+        if (clang_version == "17" || clang_version == "18" || clang_version == "19" || clang_version == "20") {
++        if (clang_version >= 17) {
 +          _suffix = ""
 +        } else if (clang_version == "14" || clang_version == "15" || clang_version == "16") {
 +          _libprefix = "64"

diff --git a/chromium.spec b/chromium.spec
index 044e5f1..0d2420c 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -245,7 +245,7 @@
 
 Name:	chromium
 Version: 138.0.7204.100
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
 Url: http://www.chromium.org/Home
 License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only)
@@ -1248,7 +1248,7 @@ CHROMIUM_CORE_GN_DEFINES+=' google_default_client_secret="%{default_client_secre
 
 CHROMIUM_CORE_GN_DEFINES+=' is_clang=true'
 CHROMIUM_CORE_GN_DEFINES+=" clang_base_path=\"$clang_base_path\""
-CHROMIUM_CORE_GN_DEFINES+=" clang_version=\"$clang_version\""
+CHROMIUM_CORE_GN_DEFINES+=" clang_version=$clang_version"
 CHROMIUM_CORE_GN_DEFINES+=' clang_use_chrome_plugins=false'
 CHROMIUM_CORE_GN_DEFINES+=' use_lld=true'
 
@@ -1741,6 +1741,9 @@ fi
 %endif
 
 %changelog
+* Fri Jul 11 2025 Tom Stellard <tstellar@redhat.com> -138.0.7204.100-2
+- Update rust-clanglib patch for clang 21
+
 * Wed Jul 09 2025 Than Ngo <than@redhat.com> - 138.0.7204.100-1
 - Update to 138.0.7204.100
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 16:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:07 [rpms/chromium] epel9-next: Update rust-clanglib patch for clang 21 Tom Stellard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox