Blame SOURCES/0011-modesetting-set-gbm-as-dependency-for-autotools.patch

cf7b2a
From 55fb707d037004e001623a0d066f748d8ba48d48 Mon Sep 17 00:00:00 2001
cf7b2a
From: Olivier Fourdan <ofourdan@redhat.com>
cf7b2a
Date: Tue, 23 Nov 2021 12:19:48 +0100
cf7b2a
Subject: [PATCH xserver 11/11] modesetting: set gbm as dependency for
cf7b2a
 autotools
cf7b2a
cf7b2a
Same as commit 9d628ee5f for automake.
cf7b2a
cf7b2a
Modifiers support needs gbm as a dependency. Without setting the dependency
cf7b2a
included headers are not found reliably and the build might fail if the
cf7b2a
headers are not placed in the default system include paths.
cf7b2a
cf7b2a
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
cf7b2a
---
cf7b2a
 hw/xfree86/drivers/modesetting/Makefile.am | 2 +-
cf7b2a
 1 file changed, 1 insertion(+), 1 deletion(-)
cf7b2a
cf7b2a
diff --git a/hw/xfree86/drivers/modesetting/Makefile.am b/hw/xfree86/drivers/modesetting/Makefile.am
cf7b2a
index 961c57408..ac5091be3 100644
cf7b2a
--- a/hw/xfree86/drivers/modesetting/Makefile.am
cf7b2a
+++ b/hw/xfree86/drivers/modesetting/Makefile.am
cf7b2a
@@ -41,7 +41,7 @@ AM_CPPFLAGS = \
cf7b2a
 
cf7b2a
 modesetting_drv_la_LTLIBRARIES = modesetting_drv.la
cf7b2a
 modesetting_drv_la_LDFLAGS = -module -avoid-version
cf7b2a
-modesetting_drv_la_LIBADD = $(UDEV_LIBS) $(DRM_LIBS)
cf7b2a
+modesetting_drv_la_LIBADD = $(UDEV_LIBS) $(DRM_LIBS) $(GBM_LIBS)
cf7b2a
 modesetting_drv_ladir = @moduledir@/drivers
cf7b2a
 
cf7b2a
 modesetting_drv_la_SOURCES = \
cf7b2a
-- 
cf7b2a
2.33.1
cf7b2a