diff options
Diffstat (limited to 'math/xlife/patches/patch-ab')
-rw-r--r-- | math/xlife/patches/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/math/xlife/patches/patch-ab b/math/xlife/patches/patch-ab new file mode 100644 index 00000000000..4fe300ede36 --- /dev/null +++ b/math/xlife/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/12/31 21:32:56 fredb Exp $ + +--- data.h.orig Mon Jun 17 15:06:51 1996 ++++ data.h +@@ -84,9 +84,8 @@ + GLOBAL void setcolor(int val, unsigned long x, unsigned long y); + + /* UNIX interface */ +-extern int sys_nerr, errno; +-extern char *sys_errlist[]; +-#define SYSERR sys_errlist[(errno > sys_nerr? 0 : errno)] ++#include <errno.h> ++#define SYSERR strerror(errno) + + /* X I/O state information */ + GLOBAL Display *disp; |