summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-12-23 22:42:50 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-12-23 22:42:50 +0000
commit4d1c25fe4cfdbc2dde0a800892a23aa11ce7b2c2 (patch)
treea9a3640176494acfb9e6b9d5ab3776bdd3c6d2b1 /print
parent9cae4355c40e4e9827cee6531256122b6ae07655 (diff)
downloadpkgsrc-4d1c25fe4cfdbc2dde0a800892a23aa11ce7b2c2.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