summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libepoxy/libepoxy/0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/libepoxy/libepoxy/0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch')
-rw-r--r--meta/recipes-graphics/libepoxy/libepoxy/0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch27
1 files changed, 15 insertions, 12 deletions
diff --git a/meta/recipes-graphics/libepoxy/libepoxy/0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch b/meta/recipes-graphics/libepoxy/libepoxy/0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch
index c2a2fa3453..bd49e36314 100644
--- a/meta/recipes-graphics/libepoxy/libepoxy/0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch
+++ b/meta/recipes-graphics/libepoxy/libepoxy/0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch
@@ -1,36 +1,39 @@
1From 7bcefd311cd696955376fe2c5298ec85e8f954ce Mon Sep 17 00:00:00 2001 1From 9c964427656ef71210e2c5b48b279857806574e9 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Francesco Giancane <francescogiancane8@gmail.com>
3Date: Wed, 15 Nov 2017 12:48:27 +0200 3Date: Wed, 28 Feb 2018 21:32:24 +0100
4Subject: [PATCH] Make it possible to disable the use of dlvsym() (needed for 4Subject: [PATCH] Make it possible to disable the use of dlvsym() (needed for
5 musl) 5 musl)
6 6
7Upstream-Status: Pending 7Add a patch to work around absence of dlvsym() on musl
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 8(wasn't previously a problem as autotools weren't building tests by default)
9 9
10Upstream-Status: Pending
11Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
12Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
10--- 13---
11 meson_options.txt | 3 +++ 14 meson_options.txt | 3 +++
12 test/meson.build | 6 +++--- 15 test/meson.build | 6 +++---
13 2 files changed, 6 insertions(+), 3 deletions(-) 16 2 files changed, 6 insertions(+), 3 deletions(-)
14 17
15diff --git a/meson_options.txt b/meson_options.txt 18diff --git a/meson_options.txt b/meson_options.txt
16index 244476a..071f0b6 100644 19index b5d7c98..aa849c2 100644
17--- a/meson_options.txt 20--- a/meson_options.txt
18+++ b/meson_options.txt 21+++ b/meson_options.txt
19@@ -1,6 +1,9 @@ 22@@ -1,6 +1,9 @@
20 option('enable-docs', 23 option('docs',
21 type: 'boolean', value: false, 24 type: 'boolean', value: false,
22 description: 'Enable generating the Epoxy API reference (depends on Doxygen)') 25 description: 'Enable generating the Epoxy API reference (depends on Doxygen)')
23+option('has-dlvsym', 26+option('has-dlvsym',
24+ type: 'boolean', value: true, 27+ type: 'boolean', value: true,
25+ description: 'Whether dlvsym() is available (it is not when using musl C library)') 28+ description: 'Whether dlvsym() is available (it is not when using musl C library)')
26 option('enable-glx', 29 option('glx',
27 type: 'combo', 30 type: 'combo',
28 choices: [ 'auto', 'yes', 'no' ], 31 choices: [ 'auto', 'yes', 'no' ],
29diff --git a/test/meson.build b/test/meson.build 32diff --git a/test/meson.build b/test/meson.build
30index 2340fc6..bc4330b 100644 33index c5788b4..4c46ae6 100644
31--- a/test/meson.build 34--- a/test/meson.build
32+++ b/test/meson.build 35+++ b/test/meson.build
33@@ -86,8 +86,8 @@ if build_glx 36@@ -92,8 +92,8 @@ if build_glx
34 [ 'glx_has_extension_nocontext', [ 'glx_has_extension_nocontext.c' ], [], [], true ], 37 [ 'glx_has_extension_nocontext', [ 'glx_has_extension_nocontext.c' ], [], [], true ],
35 [ 'glx_static', [ 'glx_static.c' ], [ '-DNEEDS_TO_BE_STATIC'], [ '-static' ], libtype == 'static' ], 38 [ 'glx_static', [ 'glx_static.c' ], [ '-DNEEDS_TO_BE_STATIC'], [ '-static' ], libtype == 'static' ],
36 [ 'glx_shared_znow', [ 'glx_static.c', ], [], [ '-Wl,-z,now' ], has_znow ], 39 [ 'glx_shared_znow', [ 'glx_static.c', ], [], [ '-Wl,-z,now' ], has_znow ],
@@ -41,7 +44,7 @@ index 2340fc6..bc4330b 100644
41 ] 44 ]
42 45
43 foreach test: glx_tests 46 foreach test: glx_tests
44@@ -108,7 +108,7 @@ if build_glx 47@@ -114,7 +114,7 @@ if build_glx
45 endif 48 endif
46 endforeach 49 endforeach
47 50
@@ -51,5 +54,5 @@ index 2340fc6..bc4330b 100644
51 if build_egl 54 if build_egl
52 glx_egl_sources = [ 55 glx_egl_sources = [
53-- 56--
542.15.0 572.14.3
55 58