diff options
Diffstat (limited to 'main/libdrm/fix-kms-symbol-check.patch')
-rw-r--r-- | main/libdrm/fix-kms-symbol-check.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/main/libdrm/fix-kms-symbol-check.patch b/main/libdrm/fix-kms-symbol-check.patch new file mode 100644 index 0000000000..6e888a3195 --- /dev/null +++ b/main/libdrm/fix-kms-symbol-check.patch @@ -0,0 +1,17 @@ +diff --git a/libkms/kms-symbol-check b/libkms/kms-symbol-check +index 658b269..0885282 100755 +--- a/libkms/kms-symbol-check ++++ b/libkms/kms-symbol-check +@@ -3,11 +3,8 @@ + # The following symbols (past the first five) are taken from the public headers. + # A list of the latter should be available Makefile.sources/LIBKMS_H_FILES + +-FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '{print $3}'| while read func; do ++FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '$2 == "T" {print $3}'| while read func; do + ( grep -q "^$func$" || echo $func ) <<EOF +-__bss_start +-_edata +-_end + _fini + _init + kms_bo_create |