summaryrefslogtreecommitdiff
path: root/audio/nas/files/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'audio/nas/files/patch-ah')
-rw-r--r--audio/nas/files/patch-ah12
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");