public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/obs-studio] epel9: Fix i686 build
Date: Sat, 10 Oct 2026 20:01:18 GMT	[thread overview]
Message-ID: <179166247896.1.15030516635932204991.rpms-obs-studio-721effc0d969@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/obs-studio
Branch : epel9
Commit : 721effc0d969bba5736468a377686603173c9ff4
Author : Jan Grulich <jgrulich@redhat.com>
Date   : 2024-02-19T11:22:49+01:00
Stats  : +16/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/obs-studio/c/721effc0d969bba5736468a377686603173c9ff4?branch=epel9

Log:
Fix i686 build

---
diff --git a/obs-studio-fix-incompatible-pointer-type.patch b/obs-studio-fix-incompatible-pointer-type.patch
new file mode 100644
index 0000000..f34e81b
--- /dev/null
+++ b/obs-studio-fix-incompatible-pointer-type.patch
@@ -0,0 +1,13 @@
+diff --git a/libobs-opengl/gl-egl-common.c b/libobs-opengl/gl-egl-common.c
+index f06cd19..023068f 100644
+--- a/libobs-opengl/gl-egl-common.c
++++ b/libobs-opengl/gl-egl-common.c
+@@ -373,7 +373,7 @@ bool gl_egl_query_dmabuf_modifiers_for_format(EGLDisplay egl_display,
+ 		return false;
+ 	}
+ 	if (!query_dmabuf_modifiers(egl_display, drm_format, modifiers,
+-				    n_modifiers)) {
++				    (EGLuint64KHR*)n_modifiers)) {
+ 		*n_modifiers = 0;
+ 		*modifiers = NULL;
+ 		return false;

diff --git a/obs-studio.spec b/obs-studio.spec
index a826dc3..a995073 100644
--- a/obs-studio.spec
+++ b/obs-studio.spec
@@ -69,6 +69,9 @@ Patch0103:      0103-UI-Add-support-for-OpenH264-as-the-worst-case-fallba.patch
 Patch1001:      obs-studio-30-cmake-3.20.patch
 ## Use fdk-aac by default
 Patch1002:      obs-studio-UI-use-fdk-aac-by-default.patch
+## Fix error: passing argument 4 of ‘query_dmabuf_modifiers’ from
+##            incompatible pointer type [-Wincompatible-pointer-types]
+Patch1003:      obs-studio-fix-incompatible-pointer-type.patch
 
 
 BuildRequires:  gcc

                 reply	other threads:[~2026-10-10 20:01 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=179166247896.1.15030516635932204991.rpms-obs-studio-721effc0d969@fedoraproject.org \
    --to=jgrulich@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