File popper.h_sys_errlist.patch of Package qpopper

--- popper/popper.h.orig	2017-12-30 17:26:22.771407469 +0100
+++ popper/popper.h	2017-12-30 17:24:06.517153469 +0100
@@ -313,7 +313,8 @@
 #if !( defined(BSD) && (BSD >= 199306) ) && !defined(__USE_BSD)
    extern int              sys_nerr;
 #  ifndef FREEBSD
-     extern char         *   sys_errlist[];
+     extern const char *const sys_errlist[];
+     /* extern char         *   sys_errlist[]; */
 #    ifndef SYS_SIGLIST_DECLARED
 #      ifndef __linux__
          extern char         *   sys_siglist[];
openSUSE Build Service is sponsored by