diff options
Diffstat (limited to 'math/xgap')
-rw-r--r-- | math/xgap/distinfo | 4 | ||||
-rw-r--r-- | math/xgap/patches/patch-ab | 22 | ||||
-rw-r--r-- | math/xgap/patches/patch-ac | 25 |
3 files changed, 50 insertions, 1 deletions
diff --git a/math/xgap/distinfo b/math/xgap/distinfo index 77c711e3776..c69b4e6b0dd 100644 --- a/math/xgap/distinfo +++ b/math/xgap/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 12:06:58 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/12/27 13:53:22 joerg Exp $ SHA1 (xgap4r16.zoo) = 4d8b51eaf54ce9eb1d54f75928be1e595b53c1b9 RMD160 (xgap4r16.zoo) = 89d56f36c09be088cd1911f6ff4271ca0970f829 Size (xgap4r16.zoo) = 731219 bytes SHA1 (patch-aa) = 5c2e5d88ab6d3b6fae6a8341ca2eb7cac03cbc30 +SHA1 (patch-ab) = af306491d8c8a8d75384c47cfd4a6081169104de +SHA1 (patch-ac) = 7aebedbae5dd21026d21153f4ecafd3d4bb524d4 diff --git a/math/xgap/patches/patch-ab b/math/xgap/patches/patch-ab new file mode 100644 index 00000000000..dc755a1fced --- /dev/null +++ b/math/xgap/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 2005/12/27 13:53:22 joerg Exp $ + +--- src.x11/pty.c.orig 2005-12-19 15:40:24.000000000 +0000 ++++ src.x11/pty.c +@@ -31,6 +31,9 @@ + ** 'x' the current input line is empty + ** 'z' start of 'Exec' + */ ++ ++#include <errno.h> ++ + #include "utils.h" + + #include "gaptext.h" +@@ -192,7 +195,6 @@ Int ReadGap ( line, len ) + ** + *F WriteGap( <line>, <len> ) . . . . . . . . . . . . . . . . write gap input + */ +-extern int errno; + + #ifdef DEBUG_ON + diff --git a/math/xgap/patches/patch-ac b/math/xgap/patches/patch-ac new file mode 100644 index 00000000000..66503aab81a --- /dev/null +++ b/math/xgap/patches/patch-ac @@ -0,0 +1,25 @@ +$NetBSD: patch-ac,v 1.1 2005/12/27 13:53:22 joerg Exp $ + +--- src.x11/selfile.c.orig 2005-12-19 15:45:32.000000000 +0000 ++++ src.x11/selfile.c +@@ -73,7 +73,6 @@ + # endif + #endif + +- + #include "selfile.h" + + #define SEL_FILE_CANCEL -1 +@@ -134,10 +133,9 @@ static void SFdirModTimer(); + + static char SFstatChar(); + +- +-/* BSD 4.3 errno.h does not declare errno */ +-extern int errno; ++#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__) + extern int sys_nerr; ++#endif + + #if !defined(S_ISDIR) && defined(S_IFDIR) + #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) |