Jens Thiele <ka...@karme.de> writes:

> forwarded upstream:
> https://github.com/shirok/Gauche-gtk2/issues/5

upstream commited a fix:

commit 6fca535f7bb950f81db066bd1afdca9d55e9b460 (refs/remotes/origin/master, 
refs/remotes/origin/HEAD)
Author: Shiro Kawai <sh...@acm.org>
Date:   Tue Sep 27 01:43:54 2016 -1000

    Fix build failure with new Pango

        Modified   ChangeLog
diff --git a/ChangeLog b/ChangeLog
index 001516b..2224e3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-09-27  Shiro Kawai  <sh...@acm.org>
+
+       * lib/h2s/parse.scm (parse-body): Fix for new Pango.
+         https://github.com/shirok/Gauche-gtk2/issues/5
+
 2015-06-24  Shiro Kawai  <sh...@acm.org>
 
        * src/gauche-gtk.c (call_callback), lib/gtk.scm (%gtk-call-callback):
        Modified   lib/h2s/parse.scm
diff --git a/lib/h2s/parse.scm b/lib/h2s/parse.scm
index ae15c98..d38d899 100644
--- a/lib/h2s/parse.scm
+++ b/lib/h2s/parse.scm
@@ -91,7 +91,10 @@
     ;; and no way to combine  typedef struct _a{....}  a; !!!  Must be 
separate.
 
 
-
+    (#/^PANGO_AVAILABLE_IN_/ ()        (parse-body))
+    ;; this new addition of preprocessor symbols in Pango interferes with
+    ;; parsing.  we just skip.
+    
     (#/^typedef enum/        ()        (parse-enum) (parse-body))
 
     ;; mmc:

Reply via email to