xawtv/xawtv-3.107-glibc-2.36.patch

45 lines
1.4 KiB
Diff
Raw Permalink Normal View History

diff -Nru xawtv-3.107.orig/console/fbtools.c xawtv-3.107/console/fbtools.c
--- xawtv-3.107.orig/console/fbtools.c 2020-05-16 01:32:25.000000000 +0200
+++ xawtv-3.107/console/fbtools.c 2022-09-01 14:48:20.046709173 +0200
@@ -520,6 +520,6 @@
/* cleanup */
fb_cleanup();
- fprintf(stderr,"Oops: %s\n",sys_siglist[termsig]);
+ fprintf(stderr,"Oops: %s\n",strsignal(termsig));
exit(42);
}
diff -Nru xawtv-3.107.orig/console/record.c xawtv-3.107/console/record.c
--- xawtv-3.107.orig/console/record.c 2020-05-16 01:32:25.000000000 +0200
+++ xawtv-3.107/console/record.c 2022-09-01 14:48:20.040709235 +0200
@@ -429,7 +429,7 @@
{
if (verbose)
fprintf(stderr,"\n%s - exiting\n",
- sys_siglist[signal]);
+ strsignal(signal));
stop = 1;
}
diff -Nru xawtv-3.107.orig/x11/rootv.c xawtv-3.107/x11/rootv.c
--- xawtv-3.107.orig/x11/rootv.c 2020-05-16 01:32:25.000000000 +0200
+++ xawtv-3.107/x11/rootv.c 2022-09-01 14:48:13.618775381 +0200
@@ -133,7 +133,7 @@
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 @@
}
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);