Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pixmap for openSUSE:Factory checked 
in at 2021-04-01 14:17:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pixmap (Old)
 and      /work/SRC/openSUSE:Factory/.pixmap.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pixmap"

Thu Apr  1 14:17:24 2021 rev:21 rq:882124 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/pixmap/pixmap.changes    2019-09-16 
10:53:05.279151361 +0200
+++ /work/SRC/openSUSE:Factory/.pixmap.new.2401/pixmap.changes  2021-04-01 
14:18:40.972107535 +0200
@@ -1,0 +2,5 @@
+Tue Mar 30 09:00:59 UTC 2021 - Dr. Werner Fink <[email protected]>
+
+- Add patch pixmap2.6-syserr.patch to make it build again 
+
+-------------------------------------------------------------------

New:
----
  pixmap2.6-syserr.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pixmap.spec ++++++
--- /var/tmp/diff_new_pack.ltLCUd/_old  2021-04-01 14:18:41.496108171 +0200
+++ /var/tmp/diff_new_pack.ltLCUd/_new  2021-04-01 14:18:41.500108175 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pixmap
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,7 @@
 Patch5:         pixmap2.6-ia64.patch
 Patch6:         pixmap-nonvoid.patch
 Patch7:         pixmap-xorg7.patch
+Patch8:         pixmap2.6-syserr.patch
 BuildRequires:  imake
 BuildRequires:  pkgconfig
 BuildRequires:  rgb
@@ -76,6 +77,7 @@
 %patch6
 # use this patch only if new X.org 7.x or higher is present
 %patch7
+%patch8
 # contains data used for earlier versions of X.
 rm -rf X11
 

++++++ pixmap2.6-syserr.patch ++++++
---
 SelFile/SelFile.c |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

--- SelFile/SelFile.c
+++ SelFile/SelFile.c   2021-03-30 09:09:08.874235990 +0000
@@ -46,9 +46,7 @@
 /* BSD 4.3 errno.h does not declare errno */
 extern int errno;
 extern int sys_nerr;
-#if !(defined __GLIBC__ && __GLIBC__ >=2)
-extern char *sys_errlist[];
-#endif
+#include <string.h>
 
 #include <sys/param.h>
 #include <X11/cursorfont.h>
@@ -564,11 +562,12 @@ SFopenFile(name, mode, prompt, failed)
     SFchdir(SFstartDir);
     if ((fp = fopen(name, mode)) == NULL) {
        char *buf;
-       if (errno <= sys_nerr) {
-           buf = XtMalloc(strlen(failed) + strlen(sys_errlist[errno]) + 
+       if (strerrorname_np(errno)) {
+           const char *err = strerror(errno);
+           buf = XtMalloc(strlen(failed) + strlen(err) + 
                           strlen(prompt) + 2);
            strcpy(buf, failed);
-           strcat(buf, sys_errlist[errno]);
+           strcat(buf, err);
            strcat(buf, "\n");
            strcat(buf, prompt);
        } else {

Reply via email to