public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] f45: Add correct check for pipewire version
@ 2026-09-17 12:24 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-09-17 12:24 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chromium
Branch : f45
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=f45

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);

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

only message in thread, other threads:[~2026-09-17 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 12:24 [rpms/chromium] f45: Add correct check for pipewire version Than Ngo

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