gentoo-ebuilds/media-libs/libva-compat/files/libva-compat-1.8.3-missing-decl.patch
NHOrus 9b71b51386
media-libs/libva-compat: update EAPI 7 -> 8, fix build problems
Fix missing function parameters for C23.
Add upstream patch that deleted non-existent symbol from linking
script for Clang/LLD

Closes: https://bugs.gentoo.org/925671
Closes: https://bugs.gentoo.org/944163
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/41436
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2025-04-05 22:42:51 +01:00

13 lines
509 B
Diff

Add missing parameters in declaration for C23
https://bugs.gentoo.org/944163
--- a/va/x11/va_nvctrl.c
+++ b/va/x11/va_nvctrl.c
@@ -130,7 +130,7 @@
#define XNVCTRLSimpleCheckExtension(dpy,i) \
XextSimpleCheckExtension (dpy, i, nvctrl_extension_name)
-static int close_display();
+static int close_display(Display *, XExtCodes *);
static /* const */ XExtensionHooks nvctrl_extension_hooks = {
NULL, /* create_gc */
NULL, /* copy_gc */