summaryrefslogtreecommitdiff
path: root/textproc/antiword/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-12-12 22:31:55 +0000
committerwiz <wiz@pkgsrc.org>2003-12-12 22:31:55 +0000
commited84bdcb51dea2c43eddccb9152668be1c46fa36 (patch)
tree9309cf6f5a1eab878517569727a307c2127abab4 /textproc/antiword/patches
parent75c8f2e5b314978d35fb9ddfd0da71d10c894edc (diff)
downloadpkgsrc-ed84bdcb51dea2c43eddccb9152668be1c46fa36.tar.gz
Update to 0.35:
Changes 0.34 to 0.35 -------------------- Bug fixes: - Bug in the use of the environment variable ANTIWORDHOME New features: - The XML/DocBook output is slightly better. - Scale view window is closed when the main window is closed. Thanks to Tony Moore <old_coaster@yahoo.co.uk> (RISC OS only) - More support for WinWord 1.x documents Changes 0.33 to 0.34 -------------------- Bug fixes: - Bug in UTF-8 tables fixed - Bug reported by Stewart Goldwater <sg@janus.freeserve.co.uk> fixed - Bug reported by Karl-Otto Linn <linn@informatik.fh-wiesbaden.de> fixed - Fixed a bug that made DOS hang when Antiword processed a document > 8 MB. New features: - Better approximations for fancy characters in the output - A Word document can now be saved as XML/DocBook. - Linux Makefile is now closer to conventions. - Support for Text Boxes - An environment variable ANTIWORDHOME was added to create a more flexable place for the fontnames file and the mapping files. - Antiword is now Latin9 enabled. Thanks to Stefan Bellon <sbellon@sbellon.de> (RISC OS only) - Some support for MacWord 4 and 5 documents - More support for Word-for-DOS documents - Support for superscripts and subscripts - Displays slightly more images. - Improved lists, especially in documents from Word 97 or later.
Diffstat (limited to 'textproc/antiword/patches')
-rw-r--r--textproc/antiword/patches/patch-aa33
1 files changed, 17 insertions, 16 deletions
diff --git a/textproc/antiword/patches/patch-aa b/textproc/antiword/patches/patch-aa
index 851107f7991..7b477e6f82c 100644
--- a/textproc/antiword/patches/patch-aa
+++ b/textproc/antiword/patches/patch-aa
@@ -1,36 +1,38 @@
-$NetBSD: patch-aa,v 1.6 2002/08/21 03:39:42 rh Exp $
+$NetBSD: patch-aa,v 1.7 2003/12/12 22:31:55 wiz Exp $
---- Makefile.orig Fri Jul 5 18:45:13 2002
+--- Makefile.orig Wed Feb 26 21:05:47 2003
+++ Makefile
-@@ -2,17 +2,17 @@
+@@ -2,8 +2,8 @@
# Makefile for antiword (Linux version)
#
-CC = gcc
-LD = gcc
-+CC?=gcc
-+LD=${CC}
++CC ?= gcc
++LD = ${CC}
+ INSTALL = cp -f
+ INSTALL_PROGRAM = $(INSTALL)
+@@ -12,11 +12,11 @@ INSTALL_DATA = $(INSTALL)
# must be equal to DEBUG or NDEBUG
DB = NDEBUG
# Optimization: -O<n> or debugging: -g
-OPT = -O2
-+OPT =
++OPT =
LDLIBS =
-CFLAGS = -Wall -pedantic $(OPT) -D$(DB)
-+CFLAGS+= -Wall -pedantic $(OPT) -D$(DB)
++CFLAGS += -Wall -pedantic $(OPT) -D$(DB)
LDFLAGS =
OBJS =\
-@@ -25,23 +25,32 @@ OBJS =\
- xmalloc.o
+@@ -29,22 +29,31 @@ OBJS =\
+ worddos.o wordlib.o wordmac.o wordole.o wordwin.o xmalloc.o xml.o
PROGS =\
- antiword\
+ antiword
-+
+SCRIPTS=\
kantiword
@@ -49,7 +51,6 @@ $NetBSD: patch-aa,v 1.6 2002/08/21 03:39:42 rh Exp $
- cp -pf $(PROGS) $(LOCAL_INSTALL_DIR)
- mkdir -p $(LOCAL_RESOURCES_DIR)
- cp -pf Resources/* $(LOCAL_RESOURCES_DIR)
--
+ ${BSD_INSTALL_PROGRAM} ${PROGS} ${GLOBAL_INSTALL_DIR}
+ ${BSD_INSTALL_SCRIPT} ${SCRIPTS} ${GLOBAL_INSTALL_DIR}
+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/doc/antiword
@@ -61,11 +62,11 @@ $NetBSD: patch-aa,v 1.6 2002/08/21 03:39:42 rh Exp $
+ for i in Resources/* ; do \
+ ${BSD_INSTALL_DATA} $$i ${GLOBAL_RESOURCES_DIR};\
+ done
-+
- # NOTE: you must be root to do this
++
+
+ # NOTE: you might have to be root to do this
global_install: all
- @[ `id -u` -eq 0 ] || (echo "You must be root to do this" && false)
-@@ -55,6 +64,7 @@ global_install: all
+@@ -68,6 +77,7 @@ global_uninstall:
clean:
rm -f $(OBJS)
rm -f $(PROGS)
@@ -73,7 +74,7 @@ $NetBSD: patch-aa,v 1.6 2002/08/21 03:39:42 rh Exp $
antiword: $(OBJS)
@rm -f $@
-@@ -66,9 +76,6 @@ kantiword: Unix-only/KDE2-only/kantiword
+@@ -79,9 +89,6 @@ kantiword: Unix-only/KDE2-only/kantiword
echo "#!/bin/sh" > $@
cat $? >> $@
@chmod 750 $@