libelf: Fix issue with mesa

This commit is contained in:
Dylan Araps 2020-05-26 14:53:18 +03:00
parent cce094f84a
commit 01252e49a7
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 14 additions and 1 deletions

View File

@ -1,2 +1,2 @@
92bfe36f886024bbc433846483b026c7ce44d553b9b941a0fd13e451911ae297 elftoolchain-0.7.1.tgz
06200f356e309558942a378de07d2cf2e0dcaa3c25cc71542599e39f265c607c libelf-linux.patch
239ed8fbc3393f7a39cbb6f3cad0278ac8b8d1306da9832c43dac1332a89ab28 libelf-linux.patch

View File

@ -25,3 +25,16 @@ index 0c207226..235b66dd 100644
/*
* Symbol versioning structures.
diff --git a/common/elfdefinitions.h b/common/elfdefinitions.h
index caa6a30..6484017 100644
--- a/common/elfdefinitions.h
+++ b/common/elfdefinitions.h
@@ -42,6 +42,8 @@
#include <stdint.h>
+#define STN_UNDEF 0
+
/*
* Types of capabilities.
*/