summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-12-23 22:42:50 +0000
committerfrueauf <frueauf>1998-12-23 22:42:50 +0000
commitca81406aa4a30fe040dd534a2560ef352bc4a151 (patch)
treea9a3640176494acfb9e6b9d5ab3776bdd3c6d2b1 /print
parentf5bdbaab04cfe18bf8878db62604e5f5132969bc (diff)
downloadpkgsrc-ca81406aa4a30fe040dd534a2560ef352bc4a151.tar.gz
Define "unix" in kpse-2.6/web2c/lib/texmf.h, pointed out in pr 6507
by Johnny C. Lam, fixes also pr 6638 by Ignatios Souvatzis.
Diffstat (limited to 'print')
-rw-r--r--print/teTeX/patches/patch-ag14
1 files changed, 14 insertions, 0 deletions
diff --git a/print/teTeX/patches/patch-ag b/print/teTeX/patches/patch-ag
new file mode 100644
index 00000000000..2beb759206e
--- /dev/null
+++ b/print/teTeX/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 1998/12/23 22:42:50 frueauf Exp $
+
+--- kpse-2.6/web2c/lib/texmf.h-orig Sun Jul 28 23:44:18 1996
++++ kpse-2.6/web2c/lib/texmf.h Wed Dec 23 23:30:10 1998
+@@ -66,6 +66,9 @@
+ /* This routine has to return four values. */
+ #define dateandtime(i, j, k, l) get_date_and_time (&(i), &(j), &(k), &(l))
+
++#if (defined(BSD) && BSD >= 199306)
++#define unix
++#endif
+
+
+ /* If we're running under Unix, use system calls instead of standard I/O