1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/net/gopher/files/patch-aa

39 lines
1.3 KiB
Plaintext
Raw Normal View History

*** gopherd/error.c.orig Fri Dec 27 17:13:12 1996
--- gopherd/error.c Fri Dec 27 17:26:28 1996
1994-12-12 00:44:48 +00:00
***************
*** 255,261 ****
1994-12-12 00:44:48 +00:00
extern int errno; /* UNIX error number */
extern int sys_nerr; /* # of error message strings in sys table */
! #ifdef __NetBSD__
extern const char *const sys_errlist[]; /* the system error message table */
#else
extern char *sys_errlist[]; /* the system error message table */
--- 255,261 ----
1994-12-12 00:44:48 +00:00
extern int errno; /* UNIX error number */
extern int sys_nerr; /* # of error message strings in sys table */
! #if !(defined(BSD) && (BSD >= 199103))
extern const char *const sys_errlist[]; /* the system error message table */
#else
extern char *sys_errlist[]; /* the system error message table */
*** gopher/globals.h.orig Fri Nov 3 16:18:17 1995
--- gopher/globals.h Mon Apr 14 15:33:32 1997
1994-12-12 00:44:48 +00:00
***************
*** 129,135 ****
1994-12-12 00:44:48 +00:00
#ifndef VMS
extern char **environ; /* User environment array */
! #ifdef __NetBSD__
extern const char *const sys_errlist[];
1994-12-12 00:44:48 +00:00
#else
extern char *sys_errlist[];
--- 129,135 ----
1994-12-12 00:44:48 +00:00
#ifndef VMS
extern char **environ; /* User environment array */
! #if defined(__NetBSD__) || defined(__FreeBSD__)
extern const char *const sys_errlist[];
#else
extern char *sys_errlist[];