summaryrefslogtreecommitdiff
path: root/packages/mutt/mutt-1.5.9i/makedoc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mutt/mutt-1.5.9i/makedoc.patch')
-rw-r--r--packages/mutt/mutt-1.5.9i/makedoc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/mutt/mutt-1.5.9i/makedoc.patch b/packages/mutt/mutt-1.5.9i/makedoc.patch
new file mode 100644
index 0000000000..f2b64a6f22
--- /dev/null
+++ b/packages/mutt/mutt-1.5.9i/makedoc.patch
@@ -0,0 +1,11 @@
+--- mutt-1.5.9/makedoc.c.orig 2005-08-04 10:26:18.686217792 +0000
++++ mutt-1.5.9/makedoc.c 2005-08-04 10:26:36.254547000 +0000
+@@ -49,7 +49,7 @@
+ #ifndef HAVE_STRERROR
+ #ifndef STDC_HEADERS
+ extern int sys_nerr;
+-extern char *sys_errlist[];
++extern __const char *__const sys_errlist[];
+ #endif
+
+ #define strerror(x) ((x) > 0 && (x) < sys_nerr) ? sys_errlist[(x)] : 0