Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/x11/xserver_xorg-server: fix build without glx
@ 2020-01-08 21:39 Fabrice Fontaine
  2020-01-10 21:55 ` Thomas Petazzoni
  2020-01-11 10:24 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2020-01-08 21:39 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/de838a843f97673d1381a55fd4e9b07164693913

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...mon-xf86Init.c-fix-build-without-glx.patch | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 package/x11r7/xserver_xorg-server/1.20.6/0006-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch

diff --git a/package/x11r7/xserver_xorg-server/1.20.6/0006-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch b/package/x11r7/xserver_xorg-server/1.20.6/0006-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch
new file mode 100644
index 0000000000..f1fdfe3e37
--- /dev/null
+++ b/package/x11r7/xserver_xorg-server/1.20.6/0006-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch
@@ -0,0 +1,45 @@
+From 49456e0a37fac7bc9d1f01bc1519fb0d699956db Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Fri, 27 Dec 2019 23:33:37 +0100
+Subject: [PATCH] hw/xfree86/common/xf86Init.c: fix build without glx
+
+Since commit d8ec33fe0542141aed1d9016d2ecaf52da944b4b, an include on
+glxvndabi.h has been added to hw/xfree86/common/xf86Init.c
+
+However, if glx is disabled through --disable-glx and GLX headers are
+not installed in the build's environment, build fails on:
+
+In file included from xf86Init.c:81:
+../../../include/glxvndabi.h:64:10: fatal error: GL/glxproto.h: No such file or directory
+   64 | #include <GL/glxproto.h>
+      |          ^~~~~~~~~~~~~~~
+
+Fix this failure by removing this include which does not seem to be
+needed (an other option would have been to keep it under an ifdef GLXEXT
+block)
+
+Fixes:
+ - http://autobuild.buildroot.org/results/de838a843f97673d1381a55fd4e9b07164693913
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Retrieved from:
+https://gitlab.freedesktop.org/xorg/xserver/commit/49456e0a37fac7bc9d1f01bc1519fb0d699956db]
+---
+ hw/xfree86/common/xf86Init.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
+index 0631c7237..e6fb11398 100644
+--- a/hw/xfree86/common/xf86Init.c
++++ b/hw/xfree86/common/xf86Init.c
+@@ -74,7 +74,6 @@
+ #include "xf86Crtc.h"
+ #include "picturestr.h"
+ #include "randrstr.h"
+-#include "glxvndabi.h"
+ #include "xf86Bus.h"
+ #ifdef XSERVER_LIBPCIACCESS
+ #include "xf86VGAarbiter.h"
+-- 
+2.24.1
+
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/x11/xserver_xorg-server: fix build without glx
  2020-01-08 21:39 [Buildroot] [PATCH 1/1] package/x11/xserver_xorg-server: fix build without glx Fabrice Fontaine
@ 2020-01-10 21:55 ` Thomas Petazzoni
  2020-01-11 10:24 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2020-01-10 21:55 UTC (permalink / raw)
  To: buildroot

On Wed,  8 Jan 2020 22:39:28 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fixes:
>  - http://autobuild.buildroot.org/results/de838a843f97673d1381a55fd4e9b07164693913
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  ...mon-xf86Init.c-fix-build-without-glx.patch | 45 +++++++++++++++++++
>  1 file changed, 45 insertions(+)
>  create mode 100644 package/x11r7/xserver_xorg-server/1.20.6/0006-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/x11/xserver_xorg-server: fix build without glx
  2020-01-08 21:39 [Buildroot] [PATCH 1/1] package/x11/xserver_xorg-server: fix build without glx Fabrice Fontaine
  2020-01-10 21:55 ` Thomas Petazzoni
@ 2020-01-11 10:24 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-01-11 10:24 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fixes:
 >  - http://autobuild.buildroot.org/results/de838a843f97673d1381a55fd4e9b07164693913

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2019.02.x and 2019.11.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-11 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-08 21:39 [Buildroot] [PATCH 1/1] package/x11/xserver_xorg-server: fix build without glx Fabrice Fontaine
2020-01-10 21:55 ` Thomas Petazzoni
2020-01-11 10:24 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox