compensatory fixes for xf86-video-intel driver
John Lumby
johnlumby at hotmail.com
Sat Apr 6 18:00:33 UTC 2024
Some tidying-up changes made in xorg/xserver in the last few months, e.g. some shuffling in render/picturestr.h, and one other elsewhere, appear to have broken building of xf86-video-intel. (Am I the last one standing who actually builds it?)
my build platform - linux slackware64-current-15.1 with :
GNU libc stable release version 2.39
gcc 13.2.0
binutils e.g. GNU ld version 2.42-slack151
my patches : note - I placed these changes directly into the affected .c source for convenience, and to avoid having to understand the header-file dependency jungle - it is probable they better belong in header files :
--- xorg/driver/xf86-video-intel/src/backlight.c.orig 2024-04-02 12:56:05.954362590 -0400
+++ xorg/driver/xf86-video-intel/src/backlight.c 2024-04-05 11:07:58.727497561 -0400
@@ -80,6 +80,7 @@
*
* If only things were as simple as on OpenBSD! :)
*/
+int System(const char *command); /* from os_utils.c */
void backlight_init(struct backlight *b)
{
--- xorg/driver/xf86-video-intel/src/sna/sna_display.c.orig 2024-04-02 12:56:06.134363483 -0400
+++ xorg/driver/xf86-video-intel/src/sna/sna_display.c 2024-04-05 18:23:53.141120590 -0400
@@ -93,6 +93,9 @@ void *alloca(size_t);
#define FAIL_CURSOR_IOCTL 0
+#define pict_f_vector pixman_f_vector
+#define pict_f_transform pixman_f_transform
+
/* Minor discrepancy between 32-bit/64-bit ABI in old kernels */
union compat_mode_get_connector{
struct drm_mode_get_connector conn;
More information about the xorg-devel
mailing list