ports/lang/guile/files/patch-libguile_guile-snarf.in
Muhammad Moinur Rahman e0471dcdf8 lang/guile: Remove USE_AUTOTOOLS
- Add PORTSCOUT variable to limit within 1.X.X
- Fix patch files to reflect 'make makepatch'
2015-06-02 12:16:12 +00:00

12 lines
490 B
Text

--- libguile/guile-snarf.in.orig 2010-12-13 17:24:40 UTC
+++ libguile/guile-snarf.in
@@ -51,7 +51,8 @@ modern_snarf ()
## empty file.
echo "/* cpp arguments: $@ */" ;
${cpp} -DSCM_MAGIC_SNARF_INITS -DSCM_MAGIC_SNARFER "$@" > ${temp} && cpp_ok_p=true
- grep "^ *\^ *\^" ${temp} | sed -e "s/^ *\^ *\^//" -e "s/\^\ *:\ *\^.*/;/"
+ sed -e 's/\^ *\^/\
+^^/g' ${temp} | grep "^.*\^ *\^" | sed -e "s/^.*\^ *\^//" -e "s/\^\ *:\ *\^.*/;/"
}
## main