summary refs log tree commit diff
path: root/gnu/packages/patches/libdrm-symbol-check.patch
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-04-27 00:33:06 -0400
committerLeo Famulari <leo@famulari.name>2017-04-27 00:33:06 -0400
commit2018eea07bb00663d2f0cec9d9085d51afa4513b (patch)
treea55ca6062bd1808bdf2d3302b3b3026e6bc5c0f5 /gnu/packages/patches/libdrm-symbol-check.patch
parentbe58ffa4aa518686294726bdd83733eca4e6c03c (diff)
parent39d2d9a7abdde28830c39c1128986cad539c081d (diff)
downloadguix-2018eea07bb00663d2f0cec9d9085d51afa4513b.tar.gz
Merge branch 'staging'
Diffstat (limited to 'gnu/packages/patches/libdrm-symbol-check.patch')
-rw-r--r--gnu/packages/patches/libdrm-symbol-check.patch25
1 files changed, 10 insertions, 15 deletions
diff --git a/gnu/packages/patches/libdrm-symbol-check.patch b/gnu/packages/patches/libdrm-symbol-check.patch
index 69c67e778d..0a77763a4f 100644
--- a/gnu/packages/patches/libdrm-symbol-check.patch
+++ b/gnu/packages/patches/libdrm-symbol-check.patch
@@ -174,26 +174,21 @@ mips64el-linux, armhf-linux and aarch64-linux.
 @@ -1,6 +1,6 @@
  #!/bin/bash
  
--# The following symbols (past the first five) are taken from the public headers.
-+# The following symbols (past the first 12) are taken from the public headers.
- # A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
+-# The following symbols (past the first nine) are taken from tegra.h.
++# The following symbols (past the first 12) are taken from tegra.h.
  
  FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do
-@@ -10,6 +10,13 @@
- _end
- _fini
- _init
+ ( grep -q "^$func$" || echo $func )  <<EOF
+@@ -9,6 +9,9 @@
+ __bss_start
+ __end__
+ _bss_end__
 +_fbss
 +_fdata
 +_ftext
-+__bss_start__
-+__bss_end__
-+_bss_end__
-+__end__
- drm_tegra_bo_get_flags
- drm_tegra_bo_get_handle
- drm_tegra_bo_get_tiling
-
+ _edata
+ _end
+ _fini
 --- libdrm-2.4.65/radeon/radeon-symbol-check.orig	2015-05-04 11:47:43.000000000 -0400
 +++ libdrm-2.4.65/radeon/radeon-symbol-check	2015-10-18 23:57:00.756759698 -0400
 @@ -1,6 +1,6 @@