Hi Jeremy,

there is a typo in the __has_extension define, which breaks the build
of other packages with GCC. Can you please apply the attached patch?

Regards,
Jürg
From 2187329d495a4b9ba63367c7ba6775d9f99568e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrg=20Billeter?= <j...@bitron.ch>
Date: Fri, 23 Sep 2016 08:18:52 +0200
Subject: [PATCH] Xfuncproto.h: Fix typo in __has_extension() define

---
 Xfuncproto.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in
index 8715c9d..b88493d 100644
--- a/Xfuncproto.h.in
+++ b/Xfuncproto.h.in
@@ -83,7 +83,7 @@ in this Software without prior written authorization from The Open Group.
 # define __has_feature(x) 0    /* Compatibility with non-clang compilers. */
 #endif
 #ifndef __has_extension
-# define __has_extenstion(x) 0 /* Compatibility with non-clang compilers. */
+# define __has_extension(x) 0  /* Compatibility with non-clang compilers. */
 #endif
 
 /* Added in X11R6.9, so available in any version of modular xproto */
-- 
2.10.0

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to