summaryrefslogtreecommitdiff
path: root/math/yorick
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-01-18 17:32:22 +0000
committerdrochner <drochner@pkgsrc.org>2002-01-18 17:32:22 +0000
commitd8eab9a1a3e26e2ea89a596ec7500e8f3381845c (patch)
tree6eaeef213c51a4b081b3416c7dad8ede2de4cd94 /math/yorick
parent98f6b22a825d6f7b4950e5a20b9fa2cda4b20a86 (diff)
downloadpkgsrc-d8eab9a1a3e26e2ea89a596ec7500e8f3381845c.tar.gz
bring an lseek prototype into scope - this makes it survive its own
installation test for me
Diffstat (limited to 'math/yorick')
-rw-r--r--math/yorick/distinfo5
-rw-r--r--math/yorick/patches/patch-ab17
-rw-r--r--math/yorick/patches/patch-ac12
3 files changed, 29 insertions, 5 deletions
diff --git a/math/yorick/distinfo b/math/yorick/distinfo
index 9cee391c007..aeebf9730a9 100644
--- a/math/yorick/distinfo
+++ b/math/yorick/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 08:45:46 agc Exp $
+$NetBSD: distinfo,v 1.3 2002/01/18 17:32:22 drochner Exp $
SHA1 (yorick-1.4.tar.gz) = 11e2ea5f0b5ac6b08251e4a3f9bb13f2dec22f1d
Size (yorick-1.4.tar.gz) = 1429179 bytes
SHA1 (patch-aa) = 0032e1e564603c97779f47be1fae44e64561860d
-SHA1 (patch-ab) = f19497ceaca1699028c6326db710e0eb81e45d89
+SHA1 (patch-ab) = e5563c99ad577973517ab5d2a9b72728280792de
+SHA1 (patch-ac) = 054fe84cf1c00e09c89fc7318353b84ff41bbd21
diff --git a/math/yorick/patches/patch-ab b/math/yorick/patches/patch-ab
index fa6bd5dae3a..c01385a6d52 100644
--- a/math/yorick/patches/patch-ab
+++ b/math/yorick/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.1 2000/10/02 10:58:52 jlam Exp $
+$NetBSD: patch-ab,v 1.2 2002/01/18 17:32:23 drochner Exp $
---- Yorick/sysdep.c.orig Wed Dec 18 12:28:30 1996
-+++ Yorick/sysdep.c
+--- Yorick/sysdep.c.orig Wed Dec 18 18:28:30 1996
++++ Yorick/sysdep.c Fri Jan 18 18:26:28 2002
@@ -127,7 +127,7 @@
fp_trap(FP_TRAP_FASTMODE);
fp_enable(TRP_INVALID | TRP_DIV_BY_ZERO | TRP_OVERFLOW);
@@ -11,3 +11,14 @@ $NetBSD: patch-ab,v 1.1 2000/10/02 10:58:52 jlam Exp $
/* References: exception_intro, ieee man pages */
#include <machine/fpu.h>
ieee_set_fp_control(IEEE_TRAP_ENABLE_INV | IEEE_TRAP_ENABLE_DZE |
+@@ -176,8 +176,10 @@
+ definition had second parameter of type int; size_t (long) as here
+ makes more sense and has apparently superceded the original.
+ On machines with sizeof(int)<sizeof(long) this could be serious... */
++#if 0
+ extern char *getcwd(char *, unsigned long);
+ extern int chdir(const char *);
++#endif
+ #ifndef HAS_GETCWD
+ /* if neither getcwd nor getwd is present, we're out of luck */
+ extern char *getwd(char *);
diff --git a/math/yorick/patches/patch-ac b/math/yorick/patches/patch-ac
new file mode 100644
index 00000000000..752349b8e07
--- /dev/null
+++ b/math/yorick/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2002/01/18 17:32:23 drochner Exp $
+
+--- Yorick/yio.h.orig Thu Dec 5 01:49:39 1996
++++ Yorick/yio.h Fri Jan 18 18:25:01 2002
+@@ -18,6 +18,7 @@
+ #ifndef NO_STDIO_H
+ #include <stdio.h>
+ #endif
++#include <unistd.h>
+
+ /* Here are the ANSI standard prototypes for all of the stdio.h functions
+ used by Yorick. The defintion of FILE is, of course, bogus,