summaryrefslogtreecommitdiff
path: root/textproc/groff/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-05-14 14:08:08 +0000
committerwiz <wiz@pkgsrc.org>2001-05-14 14:08:08 +0000
commiteda927af23a5f99745b48500ff6cf58ae2100042 (patch)
treec330f85ffa2fe5b48e3c59049e22c9ab38ad2a4d /textproc/groff/patches
parent09c3f680bab40d23736dce8e3d456302f430d575 (diff)
downloadpkgsrc-eda927af23a5f99745b48500ff6cf58ae2100042.tar.gz
Initial import of groff-1.16.1 -- GNU groff text formatting system.
Diffstat (limited to 'textproc/groff/patches')
-rw-r--r--textproc/groff/patches/patch-aa24
-rw-r--r--textproc/groff/patches/patch-ab38
2 files changed, 62 insertions, 0 deletions
diff --git a/textproc/groff/patches/patch-aa b/textproc/groff/patches/patch-aa
new file mode 100644
index 00000000000..81e28e80483
--- /dev/null
+++ b/textproc/groff/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/05/14 14:08:09 wiz Exp $
+
+--- src/include/Makefile.sub.orig Sun Jun 18 12:13:58 2000
++++ src/include/Makefile.sub
+@@ -30,12 +30,12 @@
+ @$(SHELL) $(top_srcdir)/gendef.sh defs.h \
+ "PROG_PREFIX=\"$(g)\"" \
+ "DEVICE=\"$(DEVICE)\"" \
+- "FONTPATH=\"$(fontpath)\"" \
+- "MACROPATH=\"$(tmacpath)\"" \
+- "INDEX_SUFFIX=\"$(indexext)\"" \
+- "COMMON_WORDS_FILE=\"$(common_words_file)\"" \
+- "DEFAULT_INDEX_DIR=\"$(indexdir)\"" \
+- "DEFAULT_INDEX_NAME=\"$(indexname)\"" \
+- "DEFAULT_INDEX=\"$(indexdir)/$(indexname)\""
++ "FONTPATH=\"$(PREFIX)/share/groff/font:/usr/share/groff_font\"" \
++ "MACROPATH=\"$(PREFIX)/share/groff/tmac:/usr/share/tmac\"" \
++ "INDEX_SUFFIX=\".i\"" \
++ "COMMON_WORDS_FILE=\"/usr/share/dict/eign\"" \
++ "DEFAULT_INDEX_DIR=\"/usr/share/dict/papers\"" \
++ "DEFAULT_INDEX_NAME=\"Ind\"" \
++ "DEFAULT_INDEX=\"/usr/share/dict/papers/Ind\""
+
+ FORCE:
diff --git a/textproc/groff/patches/patch-ab b/textproc/groff/patches/patch-ab
new file mode 100644
index 00000000000..05e14b188cb
--- /dev/null
+++ b/textproc/groff/patches/patch-ab
@@ -0,0 +1,38 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/05/14 14:08:09 wiz Exp $
+
+--- src/roff/nroff/nroff.sh.orig Sun May 28 23:46:42 2000
++++ src/roff/nroff/nroff.sh Fri May 4 18:28:24 2001
+@@ -5,14 +5,16 @@
+ # Default device.
+ # First try the "locale charmap" command, because it's most reliable.
+ # On systems where it doesn't exist, look at the environment variables.
+-case "`locale charmap 2>/dev/null`" in
+- UTF-8)
+- T=-Tutf8 ;;
+- ISO-8859-1)
+- T=-Tlatin1 ;;
+- IBM-1047)
+- T=-Tcp1047 ;;
+- *)
++# XXX: commented out because /bin/sh doesn't like not finding "locale",
++# and ignores the error redirection in this case.
++#case "`locale charmap 2>/dev/null`" in
++# UTF-8)
++# T=-Tutf8 ;;
++# ISO-8859-1)
++# T=-Tlatin1 ;;
++# IBM-1047)
++# T=-Tcp1047 ;;
++# *)
+ case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
+ *.UTF-8)
+ T=-Tutf8 ;;
+@@ -31,7 +33,7 @@
+ *)
+ T=-Tascii ;;
+ esac ;;
+- esac ;;
++# esac ;;
+ esac
+ opts=
+ safer=-S