[PATCH xserver 2/7] sdksyms: fix export word indexing

Mihail Konev k.mvc at ya.ru
Sat Apr 1 06:52:09 UTC 2017


Introduced-in: b1dac41fb3853ca8182048ea57b88b6e84ecceb3
Releaved-in: 3dad57b121fdf001e75fffa7e3007a9a0a154f67
Signed-off-by: Mihail Konev <k.mvc at ya.ru>
---
No comment.

I beleive this to be fixing https://bugs.freedesktop.org/show_bug.cgi?id=100048

It also fixes build on Solaris and NetBSD, and so is probably a commit stealing :)

 hw/xfree86/sdksyms.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh
index 767ce2181d5f..0139a5077516 100755
--- a/hw/xfree86/sdksyms.sh
+++ b/hw/xfree86/sdksyms.sh
@@ -348,7 +348,7 @@ BEGIN {
 
 /^extern[ 	]/  {
     if (sdk) {
-	n = 3;
+	n = 2;
 
         # skip line numbers GCC 5 adds before __attribute__
         while ($n == "" || $0 ~ /^# [0-9]+ "/) {
-- 
2.9.2



More information about the xorg-devel mailing list