summaryrefslogtreecommitdiff
path: root/cad/gwave/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gwave/patches/patch-ak')
-rw-r--r--cad/gwave/patches/patch-ak18
1 files changed, 18 insertions, 0 deletions
diff --git a/cad/gwave/patches/patch-ak b/cad/gwave/patches/patch-ak
new file mode 100644
index 00000000000..ce62b51b44a
--- /dev/null
+++ b/cad/gwave/patches/patch-ak
@@ -0,0 +1,18 @@
+$NetBSD: patch-ak,v 1.1 2003/11/05 22:31:43 dmcmahill Exp $
+
+--- src/Makefile.in.orig 2003-08-04 22:25:32.000000000 -0400
++++ src/Makefile.in
+@@ -497,10 +497,10 @@ uninstall-info: uninstall-info-recursive
+ # $(DOT_DOC_FILES)
+
+ init_scheme_string.c: $(top_srcdir)/scheme/minimal.scm
+- echo "char *init_scheme_string = \"\\" > $@
+- sed -e 's/;.*$$//g' -e 's/"/\\"/g' -e "s/'/\\\\'/g" -e 's/$$/\\n\\/' < $(top_srcdir)/scheme/minimal.scm >> $@
++ echo "char *init_scheme_string = " > $@
++ sed -e 's/;.*$$//g' -e 's/"/\\"/g' -e "s/'/\\\\'/g" -e 's/$$/\\n"/' -e 's/^/"/g' < $(top_srcdir)/scheme/minimal.scm >> $@
+ echo >> $@
+- echo '";' >> $@
++ echo ';' >> $@
+
+ .c.x:
+ ./xguile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \