diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-12 03:13:24 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-12 03:13:24 +0000 |
commit | a9bafdd6c47d1c6f55c76063d6b883599b9b0061 (patch) | |
tree | e052a4fe8f690cfe123ce31f5290d4a57efafce8 /cad | |
parent | Fix build on sparc64 (diff) |
Fix build on -current (don't define sys_nerr)
Notes
Notes:
svn path=/head/; revision=72954
Diffstat (limited to 'cad')
-rw-r--r-- | cad/pcb/files/patch-af | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cad/pcb/files/patch-af b/cad/pcb/files/patch-af new file mode 100644 index 000000000000..a2017795c69a --- /dev/null +++ b/cad/pcb/files/patch-af @@ -0,0 +1,16 @@ +--- ./src/error.c.orig Sat Jan 11 19:09:35 2003 ++++ ./src/error.c Sat Jan 11 19:09:54 2003 +@@ -51,11 +51,11 @@ + /* ---------------------------------------------------------------------- + * some external identifiers + */ +-extern int errno, /* system error code */ +- sys_nerr; /* number of messages available from array */ + + /* the list is already defined for some OS */ + #if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__linux__) ++extern int errno, /* system error code */ ++ sys_nerr; /* number of messages available from array */ + extern char *sys_errlist[]; /* array of error messages */ + #endif + |