commit:     aa6b6be1913a672ea920ba2ae6fad4c45490ef9d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 00:57:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 00:58:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6b6be1

x11-drivers/xf86-video-qxl: fix include order

Not quite clear if this is really an issue with xorg-server, but it is what it 
is.

Closes: https://bugs.gentoo.org/829628
Thanks-to: Remus-Gabriel Chelu <gaby_r_chelu <AT> yahoo.es>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...video-qxl-0.1.5_p20200205-xorg-21.0-build-bool.patch | 17 +++++++++++++++++
 .../xf86-video-qxl-0.1.5_p20200205-r1.ebuild            |  1 +
 2 files changed, 18 insertions(+)

diff --git 
a/x11-drivers/xf86-video-qxl/files/xf86-video-qxl-0.1.5_p20200205-xorg-21.0-build-bool.patch
 
b/x11-drivers/xf86-video-qxl/files/xf86-video-qxl-0.1.5_p20200205-xorg-21.0-build-bool.patch
new file mode 100644
index 000000000000..74f2a0245698
--- /dev/null
+++ 
b/x11-drivers/xf86-video-qxl/files/xf86-video-qxl-0.1.5_p20200205-xorg-21.0-build-bool.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/829628
+--- a/src/qxl_drmmode.h
++++ b/src/qxl_drmmode.h
+@@ -29,11 +29,11 @@
+ 
+ #ifdef XF86DRM_MODE
+ 
+-#include "xf86drm.h"
+-#include "xf86drmMode.h"
+ #include "xf86str.h"
+ #include "randrstr.h"
+ #include "xf86Crtc.h"
++#include "xf86drm.h"
++#include "xf86drmMode.h"
+ #ifdef HAVE_LIBUDEV
+ #include "libudev.h"
+ #endif

diff --git 
a/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205-r1.ebuild 
b/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205-r1.ebuild
index 86d9d4133a45..461f34cf61c1 100644
--- a/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205-r1.ebuild
+++ b/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205-r1.ebuild
@@ -30,6 +30,7 @@ BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-0.1.5_p20200205-xorg-21.0-build.patch
+       "${FILESDIR}"/${PN}-0.1.5_p20200205-xorg-21.0-build-bool.patch
 )
 
 pkg_setup() {

Reply via email to