diff options
Diffstat (limited to 'editors/mined/patches')
-rw-r--r-- | editors/mined/patches/patch-aa | 33 | ||||
-rw-r--r-- | editors/mined/patches/patch-ab | 7 | ||||
-rw-r--r-- | editors/mined/patches/patch-ac | 15 |
3 files changed, 55 insertions, 0 deletions
diff --git a/editors/mined/patches/patch-aa b/editors/mined/patches/patch-aa new file mode 100644 index 00000000000..cb9d961a1f6 --- /dev/null +++ b/editors/mined/patches/patch-aa @@ -0,0 +1,33 @@ +$NetBSD: patch-aa,v 1.3 2003/07/01 15:52:37 agc Exp $ + +--- minedaux.c 2003/06/17 16:07:30 1.1 ++++ minedaux.c 2003/06/17 16:10:10 +@@ -507,6 +507,13 @@ + # include <errno.h> + # endif + ++# include <sys/types.h> ++# include <sys/param.h> ++ ++# if (defined(BSD) && BSD >= 199306) ++# include <errno.h> ++# else ++ + extern int errno; + extern int sys_nerr; + +@@ -518,13 +525,13 @@ + portability problems and wastes developers' time. + It's nothing but a nuisance. */ + extern char * sys_errlist []; ++# endif + # endif + # endif + + # endif /* #else __CYGWIN__ */ + #endif + +- + char * + serrorof (errnum) + int errnum; diff --git a/editors/mined/patches/patch-ab b/editors/mined/patches/patch-ab new file mode 100644 index 00000000000..9b4b9539e15 --- /dev/null +++ b/editors/mined/patches/patch-ab @@ -0,0 +1,7 @@ +$NetBSD: patch-ab,v 1.1 2003/07/01 15:52:37 agc Exp $ + +--- minedhlp.h 2003/06/17 16:34:13 1.1 ++++ minedhlp.h 2003/06/17 16:34:31 +@@ -1 +1 @@ +- helpfile = "/usr/local/share/help/mined.hlp"; ++ helpfile = PREFIX "/share/help/mined.hlp"; diff --git a/editors/mined/patches/patch-ac b/editors/mined/patches/patch-ac new file mode 100644 index 00000000000..7278308c669 --- /dev/null +++ b/editors/mined/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2003/07/01 15:52:37 agc Exp $ + +Pass the value of ${PREFIX} down so that the help file can be found + +--- makefile.bsd 2003/06/17 16:35:05 1.1 ++++ makefile.bsd 2003/06/17 16:35:37 +@@ -43,7 +43,7 @@ + SYSTEM = -Dunix + + # select operating system environment +-DEFS = -Dunix ++DEFS = -Dunix -DPREFIX='"${PREFIX}"' + + + # collection of system parameters for compilation |