summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-20 00:57:50 +0000
committerSam James <sam@gentoo.org>2021-12-20 00:58:26 +0000
commitaa6b6be1913a672ea920ba2ae6fad4c45490ef9d (patch)
tree5f0b3c99ee39332d02498a27afc9e72c42ce7562
parentsys-boot/tboot: Remove old (diff)
downloadgentoo-aa6b6be1913a672ea920ba2ae6fad4c45490ef9d.tar.gz
gentoo-aa6b6be1913a672ea920ba2ae6fad4c45490ef9d.tar.bz2
gentoo-aa6b6be1913a672ea920ba2ae6fad4c45490ef9d.zip
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@yahoo.es> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--x11-drivers/xf86-video-qxl/files/xf86-video-qxl-0.1.5_p20200205-xorg-21.0-build-bool.patch17
-rw-r--r--x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205-r1.ebuild1
2 files changed, 18 insertions, 0 deletions
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() {