Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package facetimehd for openSUSE:Factory 
checked in at 2024-03-22 15:21:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/facetimehd (Old)
 and      /work/SRC/openSUSE:Factory/.facetimehd.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "facetimehd"

Fri Mar 22 15:21:32 2024 rev:5 rq:1160549 version:0.6.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/facetimehd/facetimehd.changes    2024-02-27 
22:46:39.806872987 +0100
+++ /work/SRC/openSUSE:Factory/.facetimehd.new.1905/facetimehd.changes  
2024-03-22 15:34:27.259455980 +0100
@@ -1,0 +2,6 @@
+Thu Mar 21 15:54:57 UTC 2024 - Christophe Marin <[email protected]>
+
+- Add build fix for recent kernel versions:
+  * 0001-v4l2-accommodate-to-struct-filed-rename-of-vb2_buffe.patch
+
+-------------------------------------------------------------------

New:
----
  0001-v4l2-accommodate-to-struct-filed-rename-of-vb2_buffe.patch

BETA DEBUG BEGIN:
  New:- Add build fix for recent kernel versions:
  * 0001-v4l2-accommodate-to-struct-filed-rename-of-vb2_buffe.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ facetimehd.spec ++++++
--- /var/tmp/diff_new_pack.CsDMNQ/_old  2024-03-22 15:34:27.719472891 +0100
+++ /var/tmp/diff_new_pack.CsDMNQ/_new  2024-03-22 15:34:27.723473037 +0100
@@ -26,6 +26,8 @@
 Source0:        
https://github.com/patjak/facetimehd/archive/%{version}/%{name}-%{version}.tar.gz
 Source1:        preamble
 Patch0:         Remove-use-of-linux-pci-aspm.h-since-it-s-not-in-the.patch
+# https://github.com/patjak/facetimehd/pull/292
+Patch1:         0001-v4l2-accommodate-to-struct-filed-rename-of-vb2_buffe.patch
 BuildRequires:  %{kernel_module_package_buildreqs}
 Requires:       facetimehd-firmware
 ExcludeArch:    s390x
@@ -39,6 +41,8 @@
 %if 0%{?sle_version} == 150300
 %patch -P 0 -p1
 %endif
+%patch -P 1 -p1
+
 set -- *
 mkdir source
 mv "$@" source/

++++++ 0001-v4l2-accommodate-to-struct-filed-rename-of-vb2_buffe.patch ++++++
>From 77c4b5bf873396ad6d37d0976a0dabdd01e5438f Mon Sep 17 00:00:00 2001
From: You-Sheng Yang <[email protected]>
Date: Sat, 17 Feb 2024 22:32:34 +0800
Subject: [PATCH] v4l2: accommodate to struct filed rename of
 vb2_buffer::min_buffers_needed

Signed-off-by: You-Sheng Yang <[email protected]>
---
 fthd_v4l2.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fthd_v4l2.c b/fthd_v4l2.c
index ffd8593..a3974a2 100644
--- a/fthd_v4l2.c
+++ b/fthd_v4l2.c
@@ -683,7 +683,11 @@ int fthd_v4l2_register(struct fthd_private *dev_priv)
        q->mem_ops = &vb2_dma_sg_memops;
        q->buf_struct_size = 0;//sizeof(struct vpif_cap_buffer);
        q->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,8,0)
        q->min_buffers_needed = 1;
+#else
+       q->min_queued_buffers = 1;
+#endif
        q->lock = &dev_priv->vb2_queue_lock;
 
        ret = vb2_queue_init(q);
-- 
2.44.0

Reply via email to