public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/obs-studio] epel9: Fix i686 build
@ 2026-10-10 20:01 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-10-10 20:01 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-10 20:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-10 20:01 [rpms/obs-studio] epel9: Fix i686 build Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox