summaryrefslogtreecommitdiff
path: root/net-mail/qpopper/files/qpopper-4.1.0-glibc.patch
blob: 53e2c6234f9f0c3ecfd1ae7af598bfc6b87c1ad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
glibc-fix.diff:
--- qpopper4.1.0/popper/popper.h.orig	2011-05-30 21:13:40.000000000 +0200
+++ qpopper4.1.0/popper/popper.h	2016-12-31 09:31:26.910604367 +0100
@@ -313,7 +313,7 @@
 #if !( defined(BSD) && (BSD >= 199306) ) && !defined(__USE_BSD)
    extern int              sys_nerr;
 #  ifndef FREEBSD
-     extern char         *   sys_errlist[];
+     extern const char         * const  sys_errlist[];
 #    ifndef SYS_SIGLIST_DECLARED
 #      ifndef __linux__
          extern char         *   sys_siglist[];