diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-09-08 01:20:05 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-09-08 01:20:05 +0000 |
commit | 33094a64ad7b49be61f93ff4e1345b9f188af154 (patch) | |
tree | 70697eb839b1b429dc18612a3abed31c0af65e3c /audio/nas/files/patch-ah | |
parent | Fix build on -current (machine/soundcard.h -> sys/soundcard.h) (diff) |
Fix build on -current (machine/soundcard.h -> sys/soundcard.h, and
avoid duplicate bogus declaration of sys_nerr)
Notes
Notes:
svn path=/head/; revision=65814
Diffstat (limited to '')
-rw-r--r-- | audio/nas/files/patch-ah | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/nas/files/patch-ah b/audio/nas/files/patch-ah new file mode 100644 index 000000000000..62d5d049bbb5 --- /dev/null +++ b/audio/nas/files/patch-ah @@ -0,0 +1,12 @@ +--- ./lib/audio/Alibint.c.orig Sat Sep 7 17:07:48 2002 ++++ ./lib/audio/Alibint.c Sat Sep 7 17:07:58 2002 +@@ -1349,8 +1349,8 @@ + { + #if !defined(__FreeBSD__) && !defined(__linux__) && !defined(__NetBSD__) + extern char *sys_errlist[]; +-#endif + extern int sys_nerr; ++#endif + char *s = (char *)((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error"); + + return (s ? s : "no such error"); |