diff options
Diffstat (limited to 'cad/magic/patches/patch-aa')
-rw-r--r-- | cad/magic/patches/patch-aa | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/cad/magic/patches/patch-aa b/cad/magic/patches/patch-aa index 6e43dadf1b3..d5c38bad397 100644 --- a/cad/magic/patches/patch-aa +++ b/cad/magic/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.3 2005/09/22 15:28:35 minskim Exp $ +$NetBSD: patch-aa,v 1.4 2006/01/06 18:14:06 joerg Exp $ ---- misc/magic.h.orig 2001-09-21 08:15:45.000000000 -0700 +--- misc/magic.h.orig 2001-09-21 15:15:45.000000000 +0000 +++ misc/magic.h @@ -99,7 +99,7 @@ extern char *SysLibPath; /* Path for fin : FALSE) @@ -83,3 +83,12 @@ $NetBSD: patch-aa,v 1.3 2005/09/22 15:28:35 minskim Exp $ /* ------- Configuration: Handle Missing Routines/Definitions ------- */ +@@ -285,7 +220,7 @@ extern char AbortMessage[]; + #include <errno.h> + #define sys_errlist _sys_errlist + #define sys_nerr _sys_nerr +-#elif !defined(__FreeBSD__) && !defined(__NetBSD__) ++#elif !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) + extern int errno; + /* extern char *sys_errlist[]; */ + extern int sys_nerr; |