gnu: offlineimap: Update to 7.0.12.
[jackhill/guix/guix.git] / gnu / packages / patches / libdrm-symbol-check.patch
CommitLineData
b2aab72c
MW
1Augment the list of expected symbols to fix the symbol-check tests on
2mips64el-linux and armhf-linux.
3
4--- libdrm-2.4.65/freedreno/freedreno-symbol-check.orig 2015-09-04 11:07:40.000000000 -0400
5+++ libdrm-2.4.65/freedreno/freedreno-symbol-check 2015-10-18 23:57:15.288416229 -0400
6@@ -1,6 +1,6 @@
7 #!/bin/bash
8
9-# The following symbols (past the first five) are taken from the public headers.
10+# The following symbols (past the first 12) are taken from the public headers.
11 # A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
12
13 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_freedreno.so} | awk '{print $3}'| while read func; do
14@@ -10,6 +10,13 @@
15 _end
16 _fini
17 _init
18+_fbss
19+_fdata
20+_ftext
21+__bss_start__
22+__bss_end__
23+_bss_end__
24+__end__
25 fd_bo_cpu_fini
26 fd_bo_cpu_prep
27 fd_bo_del
28--- libdrm-2.4.65/nouveau/nouveau-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
29+++ libdrm-2.4.65/nouveau/nouveau-symbol-check 2015-10-18 23:55:26.078327118 -0400
30@@ -1,6 +1,6 @@
31 #!/bin/bash
32
33-# The following symbols (past the first five) are taken from the public headers.
34+# The following symbols (past the first 12) are taken from the public headers.
35 # A list of the latter should be available Makefile.sources/LIBDRM_NOUVEAU_H_FILES
36
37 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_nouveau.so} | awk '{print $3}'| while read func; do
38@@ -10,6 +10,13 @@
39 _end
40 _fini
41 _init
42+_fbss
43+_fdata
44+_ftext
45+__bss_start__
46+__bss_end__
47+_bss_end__
48+__end__
49 nouveau_bo_map
50 nouveau_bo_name_get
51 nouveau_bo_name_ref
52--- libdrm-2.4.65/libkms/kms-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
53+++ libdrm-2.4.65/libkms/kms-symbol-check 2015-10-18 23:46:10.683869471 -0400
54@@ -1,6 +1,6 @@
55 #!/bin/bash
56
57-# The following symbols (past the first five) are taken from the public headers.
58+# The following symbols (past the first 12) are taken from the public headers.
59 # A list of the latter should be available Makefile.sources/LIBKMS_H_FILES
60
61 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '{print $3}'| while read func; do
62@@ -10,6 +10,13 @@
63 _end
64 _fini
65 _init
66+_fbss
67+_fdata
68+_ftext
69+__bss_start__
70+__bss_end__
71+_bss_end__
72+__end__
73 kms_bo_create
74 kms_bo_destroy
75 kms_bo_get_prop
76--- libdrm-2.4.65/intel/intel-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
77+++ libdrm-2.4.65/intel/intel-symbol-check 2015-10-18 23:55:53.309558508 -0400
78@@ -1,6 +1,6 @@
79 #!/bin/bash
80
81-# The following symbols (past the first five) are taken from the public headers.
82+# The following symbols (past the first 12) are taken from the public headers.
83 # A list of the latter should be available Makefile.sources/LIBDRM_INTEL_H_FILES
84
85 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_intel.so} | awk '{print $3}' | while read func; do
86@@ -10,6 +10,13 @@
87 _end
88 _fini
89 _init
90+_fbss
91+_fdata
92+_ftext
93+__bss_start__
94+__bss_end__
95+_bss_end__
96+__end__
97 drm_intel_bo_alloc
98 drm_intel_bo_alloc_for_render
99 drm_intel_bo_alloc_tiled
100--- libdrm-2.4.65/amdgpu/amdgpu-symbol-check.orig 2015-08-17 10:08:11.000000000 -0400
101+++ libdrm-2.4.65/amdgpu/amdgpu-symbol-check 2015-10-18 23:56:10.606917723 -0400
102@@ -1,6 +1,6 @@
103 #!/bin/bash
104
105-# The following symbols (past the first five) are taken from the public headers.
106+# The following symbols (past the first 12) are taken from the public headers.
107 # A list of the latter should be available Makefile.am/libdrm_amdgpuinclude_HEADERS
108
109 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_amdgpu.so} | awk '{print $3}' | while read func; do
110@@ -10,6 +10,13 @@
111 _end
112 _fini
113 _init
114+_fbss
115+_fdata
116+_ftext
117+__bss_start__
118+__bss_end__
119+_bss_end__
120+__end__
121 amdgpu_bo_alloc
122 amdgpu_bo_cpu_map
123 amdgpu_bo_cpu_unmap
124--- libdrm-2.4.65/exynos/exynos-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
125+++ libdrm-2.4.65/exynos/exynos-symbol-check 2015-10-18 23:56:32.025486153 -0400
126@@ -1,6 +1,6 @@
127 #!/bin/bash
128
129-# The following symbols (past the first five) are taken from the public headers.
130+# The following symbols (past the first 12) are taken from the public headers.
131 # A list of the latter should be available Makefile.am/libdrm_exynos*_HEADERS
132
133 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_exynos.so} | awk '{print $3}'| while read func; do
134@@ -10,6 +10,13 @@
135 _end
136 _fini
137 _init
138+_fbss
139+_fdata
140+_ftext
141+__bss_start__
142+__bss_end__
143+_bss_end__
144+__end__
145 exynos_bo_create
146 exynos_bo_destroy
147 exynos_bo_from_name
148--- libdrm-2.4.65/omap/omap-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
149+++ libdrm-2.4.65/omap/omap-symbol-check 2015-10-18 23:56:44.834438626 -0400
150@@ -1,6 +1,6 @@
151 #!/bin/bash
152
153-# The following symbols (past the first five) are taken from the public headers.
154+# The following symbols (past the first 12) are taken from the public headers.
155 # A list of the latter should be available Makefile.am/libdrm_omap*HEADERS
156
157 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_omap.so} | awk '{print $3}'| while read func; do
158@@ -10,6 +10,13 @@
159 _end
160 _fini
161 _init
162+_fbss
163+_fdata
164+_ftext
165+__bss_start__
166+__bss_end__
167+_bss_end__
168+__end__
169 omap_bo_cpu_fini
170 omap_bo_cpu_prep
171 omap_bo_del
172--- libdrm-2.4.65/tegra/tegra-symbol-check.orig 2015-05-04 11:47:43.000000000 -0400
173+++ libdrm-2.4.65/tegra/tegra-symbol-check 2015-10-18 23:57:00.756759698 -0400
174@@ -1,6 +1,6 @@
175 #!/bin/bash
176
177-# The following symbols (past the first five) are taken from the public headers.
178+# The following symbols (past the first 12) are taken from the public headers.
179 # A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
180
181 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do
182@@ -10,6 +10,13 @@
183 _end
184 _fini
185 _init
186+_fbss
187+_fdata
188+_ftext
189+__bss_start__
190+__bss_end__
191+_bss_end__
192+__end__
193 drm_tegra_bo_get_flags
194 drm_tegra_bo_get_handle
195 drm_tegra_bo_get_tiling