Hello hackers,
some days ago Mario noticed that the xft egg stopped building [1], this patch
makes it work again.

Cheers,
LemonBoy

[1] 
https://salmonella-linux-x86-64.call-cc.org/master/gcc/linux/x86-64/2017/09/03/salmonella-report/install/xft.html
>From 4ca745a9a1f9dd1806851e05ea0a4da6315ffd73 Mon Sep 17 00:00:00 2001
From: LemonBoy <[email protected]>
Date: Thu, 7 Sep 2017 20:52:27 +0200
Subject: [PATCH] Relax the syntax check a bit more

Some foreign types are expressed using a list, eg: (enum <type>).
---
 chicken-ffi-syntax.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chicken-ffi-syntax.scm b/chicken-ffi-syntax.scm
index 0564c4b2..6757b784 100644
--- a/chicken-ffi-syntax.scm
+++ b/chicken-ffi-syntax.scm
@@ -203,7 +203,7 @@
  '()
  (##sys#er-transformer
   (lambda (form r c)
-    (##sys#check-syntax 'define-foreign-variable form '(_ symbol symbol . #(_ 0 1)))
+    (##sys#check-syntax 'define-foreign-variable form '(_ symbol _ . #(_ 0 1)))
     `(##core#define-foreign-variable ,@(cdr form)))))
 
 (##sys#extend-macro-environment
-- 
2.11.0

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to