diff options
Diffstat (limited to 'textproc/rtf-tools/patches/patch-aj')
-rw-r--r-- | textproc/rtf-tools/patches/patch-aj | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/textproc/rtf-tools/patches/patch-aj b/textproc/rtf-tools/patches/patch-aj new file mode 100644 index 00000000000..d6b951532be --- /dev/null +++ b/textproc/rtf-tools/patches/patch-aj @@ -0,0 +1,23 @@ +$NetBSD: patch-aj,v 1.1 2006/01/08 20:52:57 joerg Exp $ + +--- rtf2text/text-writer.c.orig 2006-01-08 20:50:34.000000000 +0000 ++++ rtf2text/text-writer.c +@@ -53,7 +53,7 @@ static void PutLitStr (); + + static char *outMap[rtfSC_MaxChar]; + +-static FILE *ostream = stdout; ++static FILE *ostream; + + + /* +@@ -63,6 +63,9 @@ static FILE *ostream = stdout; + void + WriterInit () + { ++ if (ostream == NULL) ++ ostream = stdout; ++ + if (RTFReadOutputMap (outputMapName, outMap, 1) == 0) + RTFPanic ("Cannot read output map %s", outputMapName); + } |