summaryrefslogtreecommitdiff
path: root/packages/x11-dri/mesa/files/fix-build-without-dri.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-11 19:21:19 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-11 19:21:19 +0300
commit5e351f4ee85102acc1fca033f6ba86ff7fe3705a (patch)
tree173aea419b3c754421c3ae7c00a3dd3f08bfc3de /packages/x11-dri/mesa/files/fix-build-without-dri.patch
parentbb21f1eb84acdf92d5eb628db9fc80f25e2cc4fe (diff)
moved edited exherbo packages to separate repo "git://sss.chaoslab.ru/exherbo-edits-repo.git"
added latest codelite stable tag release as git-master failing to build
Diffstat (limited to 'packages/x11-dri/mesa/files/fix-build-without-dri.patch')
-rw-r--r--packages/x11-dri/mesa/files/fix-build-without-dri.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/packages/x11-dri/mesa/files/fix-build-without-dri.patch b/packages/x11-dri/mesa/files/fix-build-without-dri.patch
deleted file mode 100644
index d6ab841..0000000
--- a/packages/x11-dri/mesa/files/fix-build-without-dri.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Author: Rasmus Thomsen <cogitri@exherbo.org>
-Reason: Fix build without dri
-Upstream: No, not yet
-diff --git a/src/gallium/auxiliary/pipe-loader/meson.build b/src/gallium/auxiliary/pipe-loader/meson.build
-index 32e8188..31b3e7e 100644
---- a/src/gallium/auxiliary/pipe-loader/meson.build
-+++ b/src/gallium/auxiliary/pipe-loader/meson.build
-@@ -35,6 +35,12 @@ if with_gallium_drisw_kms
- libpipe_loader_defines += '-DHAVE_PIPE_LOADER_KMS'
- endif
-
-+if with_dri == true
-+ dri_args = '-DHAVE_PIPE_LOADER_DRI=1'
-+else
-+ dri_args = [ ]
-+endif
-+
- libpipe_loader_static = static_library(
- 'pipe_loader_static',
- [files_pipe_loader, xmlpool_options_h],
-@@ -43,7 +49,7 @@ libpipe_loader_static = static_library(
- inc_gallium_winsys,
- ],
- c_args : [
-- c_vis_args, '-DHAVE_PIPE_LOADER_DRI', '-DGALLIUM_STATIC_TARGETS=1',
-+ c_vis_args, dri_args , '-DGALLIUM_STATIC_TARGETS=1',
- libpipe_loader_defines,
- ],
- link_with : [libloader, libxmlconfig],