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 | e8b19c713b6dd22752b73e84990bab2bd895d0d9 (diff) | |
download | ports-a9bafdd6c47d1c6f55c76063d6b883599b9b0061.tar.gz ports-a9bafdd6c47d1c6f55c76063d6b883599b9b0061.zip |
Notes
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 + |