diff options
author | kris <kris@FreeBSD.org> | 2002-08-24 08:00:49 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-08-24 08:00:49 +0800 |
commit | eeb158a9a0dd54138e8dfa060c5de293480a91c7 (patch) | |
tree | c969ed4ca005f6edf657fb6b0a9be79724451165 /misc | |
parent | 4e613d368a8b2a53a832e102d63a853d18d49355 (diff) | |
download | freebsd-ports-gnome-eeb158a9a0dd54138e8dfa060c5de293480a91c7.tar.gz freebsd-ports-gnome-eeb158a9a0dd54138e8dfa060c5de293480a91c7.tar.zst freebsd-ports-gnome-eeb158a9a0dd54138e8dfa060c5de293480a91c7.zip |
Don't guess declarations for things in system headers.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bogosort/files/patch-aa | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/bogosort/files/patch-aa b/misc/bogosort/files/patch-aa new file mode 100644 index 000000000000..24c651115455 --- /dev/null +++ b/misc/bogosort/files/patch-aa @@ -0,0 +1,18 @@ +--- error.c.orig Mon Nov 27 05:38:26 2000 ++++ error.c Fri Aug 23 16:56:57 2002 +@@ -112,6 +112,7 @@ + private_strerror (errnum) + int errnum; + { ++#ifndef __FreeBSD__ + /* + * qha: modified to get round + * error.c:113: conflicting types for `sys_errlist' +@@ -124,6 +125,7 @@ + #error "I don't know what style sys_errlist you have" + #endif + extern int sys_nerr; ++#endif + + if (errnum > 0 && errnum <= sys_nerr) + return _(sys_errlist[errnum]); |