[Pkg-gauche-devel] Bug#837028: gauche-gtk: FTBFS: pango-font.c:249:44: error: 'desc' undeclared (first use in this function)

Jens Thiele karme at karme.de
Thu Sep 29 10:08:42 UTC 2016


Jens Thiele <karme at 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 <shiro at 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  <shiro at 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  <shiro at 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:



More information about the Pkg-gauche-devel mailing list