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
commit92c7b03228637d9b539f3e536fb52a2ae554acb8 (patch)
treea9a3640176494acfb9e6b9d5ab3776bdd3c6d2b1 /print
parentc2781228ac1f1d2b278ff40b5ca40b1f0011fb02 (diff)
downloadpkgsrc-92c7b03228637d9b539f3e536fb52a2ae554acb8.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