summaryrefslogtreecommitdiff
path: root/cad/gwave/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gwave/patches/patch-aj')
-rw-r--r--cad/gwave/patches/patch-aj18
1 files changed, 18 insertions, 0 deletions
diff --git a/cad/gwave/patches/patch-aj b/cad/gwave/patches/patch-aj
new file mode 100644
index 00000000000..fb8bdf24094
--- /dev/null
+++ b/cad/gwave/patches/patch-aj
@@ -0,0 +1,18 @@
+$NetBSD: patch-aj,v 1.1 2003/11/05 22:31:43 dmcmahill Exp $
+
+--- src/Makefile.am.orig 2003-08-02 03:24:45.000000000 -0400
++++ src/Makefile.am
+@@ -32,10 +32,10 @@ BUILT_SOURCES=init_scheme_string.c scm_i
+ # $(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 ';' >> $@
+
+ SUFFIXES = .x .doc
+