public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel10.3: Add correct check for pipewire version
Date: Wed, 16 Sep 2026 15:43:59 GMT	[thread overview]
Message-ID: <178957343948.1.8530074981737795438.rpms-chromium-84ae2985f5ee@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel10.3
Commit : 84ae2985f5ee222315809c4c0e8df3f7b7b9e1a7
Author : Than Ngo <than@redhat.com>
Date   : 2026-09-16T17:38:45+02:00
Stats  : +6/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/84ae2985f5ee222315809c4c0e8df3f7b7b9e1a7?branch=epel10.3

Log:
Add correct check for pipewire version

---
diff --git a/chromium-153-ftbfs-pipewire-api.patch b/chromium-153-ftbfs-pipewire-api.patch
index 385e053..ed2833a 100644
--- a/chromium-153-ftbfs-pipewire-api.patch
+++ b/chromium-153-ftbfs-pipewire-api.patch
@@ -9,9 +9,9 @@ diff -up chromium-153.0.8010.36/third_party/webrtc/modules/video_capture/linux/p
  namespace webrtc {
  namespace videocapturemodule {
  
-+#if defined(PIPEWIRE_VERSION_MAJOR) && \
-+    (PIPEWIRE_VERSION_MAJOR < 1 || \
-+     (PIPEWIRE_VERSION_MAJOR == 1 && PIPEWIRE_VERSION_MINOR < 5))
++#if defined(PW_MAJOR) && \
++    (PW_MAJOR < 1 || \
++     (PW_MAJOR == 1 && PW_MINOR < 5))
 +// spa_pod_type_size() is not available in the SPA headers shipped with
 +// older PipeWire versions. These are the only POD types for which this
 +// file performs size validation.
@@ -32,9 +32,9 @@ diff -up chromium-153.0.8010.36/third_party/webrtc/modules/video_capture/linux/p
 +
  // Checks that the pod matches the expected type and is large enough to hold it.
  static bool SpaValueIsType(const spa_pod* val, uint32_t type) {
-+#if defined(PIPEWIRE_VERSION_MAJOR) && \
-+    (PIPEWIRE_VERSION_MAJOR < 1 || \
-+     (PIPEWIRE_VERSION_MAJOR == 1 && PIPEWIRE_VERSION_MINOR < 5))
++#if defined(PW_MAJOR) && \
++    (PW_MAJOR < 1 || \
++     (PW_MAJOR == 1 && PW_MINOR < 5))
 +  return val->type == type && val->size >= SpaPodTypeSize(type);
 +#else
    return val->type == type && val->size >= spa_pod_type_size(type);

                 reply	other threads:[~2026-09-16 15:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178957343948.1.8530074981737795438.rpms-chromium-84ae2985f5ee@fedoraproject.org \
    --to=than@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox