diff options
author | Buildbot system user <buildbot@medusa> | 2016-10-07 14:06:25 +0000 |
---|---|---|
committer | Buildbot system user <buildbot@medusa> | 2016-10-07 14:06:25 +0000 |
commit | da44b411b72bad836e630410760eba0110c50c37 (patch) | |
tree | 83fd8794cd4f1767d7f8035efa2a0ca3009004d0 /patches | |
parent | 4cf551ccd574afe28810b08b6640a4ed9ef534c9 (diff) |
Add xserver patch
Diffstat (limited to 'patches')
-rw-r--r-- | patches/xserver/0001-glx-dri2-Don-t-build-DRI-loader-if-DRI2-isn-t-enable.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/patches/xserver/0001-glx-dri2-Don-t-build-DRI-loader-if-DRI2-isn-t-enable.patch b/patches/xserver/0001-glx-dri2-Don-t-build-DRI-loader-if-DRI2-isn-t-enable.patch new file mode 100644 index 0000000..dd2e785 --- /dev/null +++ b/patches/xserver/0001-glx-dri2-Don-t-build-DRI-loader-if-DRI2-isn-t-enable.patch @@ -0,0 +1,40 @@ +From 4dc2ed01bfc7401d60b2db1646cfffb0192fbdf6 Mon Sep 17 00:00:00 2001 +From: Jon Turney <jon.turney@dronecode.org.uk> +Date: Thu, 6 Oct 2016 22:13:07 +0100 +Subject: [PATCH xserver] glx/dri2: Don't build DRI loader if DRI2 isn't + enabled + +--- + glx/Makefile.am | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/glx/Makefile.am b/glx/Makefile.am +index fc0b76a..9af7080 100644 +--- a/glx/Makefile.am ++++ b/glx/Makefile.am +@@ -16,11 +16,10 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/hw/xfree86/os-support/bus \ + -I$(top_srcdir)/hw/xfree86/common \ + -I$(top_srcdir)/hw/xfree86/dri \ ++ -I$(top_srcdir)/hw/xfree86/dri2 + -I$(top_srcdir)/mi \ + -I$(top_srcdir)/present + +-AM_CPPFLAGS += -I$(top_srcdir)/hw/xfree86/dri2 +- + indirect_sources = \ + indirect_dispatch.c \ + indirect_dispatch.h \ +@@ -33,7 +32,9 @@ indirect_sources = \ + indirect_table.c + + libglxdri_la_SOURCES = ++if DRI2 + libglxdri_la_SOURCES += glxdri2.c ++endif + + libglxdri_la_LIBADD = $(DLOPEN_LIBS) + +-- +2.8.3 + |