summaryrefslogtreecommitdiff
path: root/textproc/rtf-tools/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/rtf-tools/patches/patch-aa')
-rw-r--r--textproc/rtf-tools/patches/patch-aa17
1 files changed, 17 insertions, 0 deletions
diff --git a/textproc/rtf-tools/patches/patch-aa b/textproc/rtf-tools/patches/patch-aa
new file mode 100644
index 00000000000..57e522368cd
--- /dev/null
+++ b/textproc/rtf-tools/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 12:18:33 agc Exp $
+
+--- h/stdnames.awk.orig Sun Apr 8 12:04:27 2001
++++ h/stdnames.awk Sun Apr 8 12:08:22 2001
+@@ -3,9 +3,9 @@
+ printf "\n/* The following defines are automatically generated. Do not edit. */\n\n"
+ printf "\n/* These must be sequential beginning from zero */\n\n"
+ }
+-/^$/ { continue }
+-/^#/ { continue }
+-{
++# /^$/ { continue }
++# /^#/ { continue }
++/^[^#].*$/ {
+ printf "#define rtfSC_%s\t%d\n", $1, count++
+ }
+ END { printf "\n#define rtfSC_MaxChar\t%d\n", count }