summaryrefslogtreecommitdiff
path: root/textproc/catdoc/patches
diff options
context:
space:
mode:
authoragc <agc>1999-10-25 23:14:58 +0000
committeragc <agc>1999-10-25 23:14:58 +0000
commitd40df496757e27e4e60d7feb92d1cdc16a8824de (patch)
treebc989d31862e9923127f1af0b4ca9eb01c1a1e5d /textproc/catdoc/patches
parent7e4cfe1bc3ad1a385e932a83bf4e7309e881b204 (diff)
downloadpkgsrc-d40df496757e27e4e60d7feb92d1cdc16a8824de.tar.gz
Update to version 0.91.2 of this package, a bug fix release - the old
version of the distfile was no longer around on the MASTER_SITE. Removed old patches ac and ad, and added a new one to include CPPFLAGS in CFLAGS, passed from the package Makefile through the environment. Fixed the manual page handling on NetBSD.
Diffstat (limited to 'textproc/catdoc/patches')
-rw-r--r--textproc/catdoc/patches/patch-ac22
-rw-r--r--textproc/catdoc/patches/patch-ad19
2 files changed, 12 insertions, 29 deletions
diff --git a/textproc/catdoc/patches/patch-ac b/textproc/catdoc/patches/patch-ac
index ddfa58e4975..f74a11ce377 100644
--- a/textproc/catdoc/patches/patch-ac
+++ b/textproc/catdoc/patches/patch-ac
@@ -1,13 +1,15 @@
-$NetBSD: patch-ac,v 1.2 1998/08/07 11:14:11 agc Exp $
+$NetBSD: patch-ac,v 1.3 1999/10/25 23:14:58 agc Exp $
---- catdoc.c.orig Fri Jun 5 12:43:35 1998
-+++ catdoc.c Sat Jun 20 01:03:13 1998
-@@ -46,7 +46,7 @@
- #define BUFFER_SIZE 16384
- #endif
- /* enable this define, if you don't want cyrillic code page translations */
--/* #define LATIN1*/
-+#define LATIN1
+Add CPPFLAGS to CFLAGS, passed down through the environment.
+
+--- src/Makefile.in 1999/10/25 23:01:49 1.1
++++ src/Makefile.in 1999/10/25 23:02:01
+@@ -61,7 +61,7 @@
+ -DREPL_EXT=\"$(REPL_EXT)\" -DUNKNOWN_CHAR=\'$(UNKNOWN_CHAR)\'\
+ -DSOURCE_CHARSET=\"$(SOURCE_CHARSET)\" -DTARGET_CHARSET=\"$(TARGET_CHARSET)\"
+-CFLAGS=$(FLAGS) $(DEFINES)
++CFLAGS=$(FLAGS) $(DEFINES) ${CPPFLAGS}
+ OBJ=catdoc.o charsets.o substmap.o reader.o writer.o fileutil.o\
+ confutil.o analyze.o rtfreader.o
- /* ......................................................... charsets ... */
diff --git a/textproc/catdoc/patches/patch-ad b/textproc/catdoc/patches/patch-ad
deleted file mode 100644
index d92ef1996d9..00000000000
--- a/textproc/catdoc/patches/patch-ad
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ad,v 1.2 1998/08/07 11:14:12 agc Exp $
-
---- wordview.orig Tue Nov 11 15:04:07 1997
-+++ wordview Sat Jun 20 01:20:09 1998
-@@ -1,4 +1,4 @@
--#!/usr/bin/wish4.2
-+#!@PREFIX@/bin/wish8.0
-
- set font 8x13
-
-@@ -72,7 +72,7 @@
- if ![file readable $name] {
- return -code error "Cannot open file $name"
- }
--set f [open "|[file dirname [info script]]/catdoc -w $name" r]
-+set f [open "|@PREFIX@/bin/catdoc -w $name" r]
- .text configure -state normal
- .text delete 0.0 end
- .text insert 0.0 [read $f] doc