r2248 - trunk/guile

randy at linuxfromscratch.org randy at linuxfromscratch.org
Wed Nov 17 16:18:59 PST 2010


Author: randy
Date: 2010-11-17 17:18:55 -0700 (Wed, 17 Nov 2010)
New Revision: 2248

Added:
   trunk/guile/guile-1.8.7-snarf-1.patch
Log:
Added a patch to Guile to fix issues with newer GCC's

Added: trunk/guile/guile-1.8.7-snarf-1.patch
===================================================================
--- trunk/guile/guile-1.8.7-snarf-1.patch	                        (rev 0)
+++ trunk/guile/guile-1.8.7-snarf-1.patch	2010-11-18 00:18:55 UTC (rev 2248)
@@ -0,0 +1,28 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2010-11-17
+Initial Package Version: 1.8.7
+Upstream Status:         In upstream GIT
+Origin:                  Upstream GIT
+Description:             Fixes an issue using a modern GCC 
+
+
+--- guile-1.8.7-orig/scripts/snarf-check-and-output-texi	2009-07-03 22:19:00.000000000 +0000
++++ guile-1.8.7/scripts/snarf-check-and-output-texi	2010-11-17 23:13:44.000000000 +0000
+@@ -267,6 +267,17 @@
+       (set! *file* file)
+       (set! *line* line))
+ 
++        ;; newer gccs like to throw around more location markers into the
++        ;; preprocessed source; these (hash . hash) bits are what they translate to
++        ;; in snarfy terms.
++        (('location ('string . file) ('int . line) ('hash . 'hash))
++        (set! *file* file)
++        (set! *line* line))
++
++        (('location ('hash . 'hash) ('string . file) ('int . line) ('hash . 'hash))
++        (set! *file* file)
++        (set! *line* line))
++
+      (('arglist rest ...)
+       (set! *args* (do-arglist rest)))
+ 




More information about the patches mailing list