Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xawtv for openSUSE:Factory checked 
in at 2021-03-02 12:36:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xawtv (Old)
 and      /work/SRC/openSUSE:Factory/.xawtv.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xawtv"

Tue Mar  2 12:36:20 2021 rev:10 rq:876133 version:3.107

Changes:
--------
--- /work/SRC/openSUSE:Factory/xawtv/xawtv.changes      2020-08-18 
15:11:53.580061585 +0200
+++ /work/SRC/openSUSE:Factory/.xawtv.new.2378/xawtv.changes    2021-03-02 
14:32:09.206715541 +0100
@@ -1,0 +2,7 @@
+Mon Mar  1 17:27:04 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add patch to fix build with glibc >= 2.32:
+  * 0001-Replace-sys_siglist-with-strsignal.patch
+- Drop obsolete conditions
+
+-------------------------------------------------------------------

New:
----
  0001-Replace-sys_siglist-with-strsignal.patch

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

Other differences:
------------------
++++++ xawtv.spec ++++++
--- /var/tmp/diff_new_pack.FyxdAb/_old  2021-03-02 14:32:09.650718170 +0100
+++ /var/tmp/diff_new_pack.FyxdAb/_new  2021-03-02 14:32:09.650718170 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xawtv
 #
-# Copyright (c) 2020 SUSE LLC
+# 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
@@ -32,6 +32,8 @@
 Source2:        motv.desktop
 # PATCH-FIX-OPENSUSE v4l-conf_non-position-independent-executable_fix.patch 
asterios.dra...@gmail.com -- Fix non-position-independent-executable rpmlint 
warning for v4l-conf
 Patch0:         v4l-conf_non-position-independent-executable_fix.patch
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Replace-sys_siglist-with-strsignal.patch
 BuildRequires:  aalib-devel
 BuildRequires:  alsa-devel
 BuildRequires:  gcc-c++
@@ -65,11 +67,7 @@
 Recommends:     pia
 Suggests:       lirc
 Conflicts:      xaw3dd
-%if 0%{?suse_version} > 1210
-BuildRequires:  desktop-file-utils
-%else
 BuildRequires:  update-desktop-files
-%endif
 
 %description
 xawtv is an X11 application for watching TV with your Linux box. It supports
@@ -147,6 +145,7 @@
 %prep
 %setup -q
 %patch0
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -160,13 +159,8 @@
 install -pm 0644 contrib/xawtv48x48.xpm  
%{buildroot}%{_datadir}/pixmaps/xawtv.xpm
 install -pm 0644 contrib/xawtv48x48.xpm  
%{buildroot}%{_datadir}/pixmaps/motv.xpm
 
-%if 0%{?suse_version} > 1210
-desktop-file-install %{SOURCE1}
-desktop-file-install %{SOURCE2}
-%else
 %suse_update_desktop_file -i xawtv
 %suse_update_desktop_file -i motv
-%endif
 
 %verifyscript -n v4l-conf
 %verify_permissions -e %{_bindir}/v4l-conf

++++++ 0001-Replace-sys_siglist-with-strsignal.patch ++++++
>From 7db0ebc1fb925dd99c89a31a5243564b26892923 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christo...@krop.fr>
Date: Mon, 1 Mar 2021 18:26:28 +0100
Subject: [PATCH] Replace sys_siglist with strsignal

sys_siglist is no longer available in glibc >= 2.32.
---
 console/fbtools.c | 2 +-
 console/record.c  | 2 +-
 x11/rootv.c       | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/console/fbtools.c b/console/fbtools.c
index 9f876df..07739ff 100644
--- a/console/fbtools.c
+++ b/console/fbtools.c
@@ -520,6 +520,6 @@ fb_catch_exit_signals(void)
 
     /* cleanup */
     fb_cleanup();
-    fprintf(stderr,"Oops: %s\n",sys_siglist[termsig]);
+    fprintf(stderr,"Oops: %s\n",strsignal(termsig));
     exit(42);
 }
diff --git a/console/record.c b/console/record.c
index 685221b..90f0c85 100644
--- a/console/record.c
+++ b/console/record.c
@@ -429,7 +429,7 @@ ctrlc(int signal)
 {
     if (verbose)
        fprintf(stderr,"\n%s - exiting\n",
-               sys_siglist[signal]);
+               strsignal(signal));
     stop = 1;
 }
 
diff --git a/x11/rootv.c b/x11/rootv.c
index 60a8406..4bf458b 100644
--- a/x11/rootv.c
+++ b/x11/rootv.c
@@ -133,7 +133,7 @@ catch_sig(int signal)
     termsig = signal;
     if (verbose)
        fprintf(stderr,"received signal %d [%s]\n",
-               termsig,sys_siglist[termsig]);
+               termsig,strsignal(termsig));
 }
 
 static void usage(FILE *fp)
@@ -422,7 +422,7 @@ main(int argc, char *argv[])
     }
     if (verbose && termsig)
        fprintf(stderr,"exiting on signal %d [%s]\n",
-               termsig,sys_siglist[termsig]);
+               termsig,strsignal(termsig));
     if (do_mute && have_mute)
        XvSetPortAttribute(dpy,port,XV_MUTE,1);
     XvStopVideo(dpy,port,win);
-- 
2.30.1

Reply via email to