#! /bin/sh /usr/share/dpatch/dpatch-run
## 99_remove_sa_restorer.dpatch by Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Remove sa_restorer from init_sig.
## sa_restorer is obsolete. And package building failed in Alpha, hppa, ia64.
@DPATCH@
diff -urNad dv4l-1.0~/dv4l.c dv4l-1.0/dv4l.c
--- dv4l-1.0~/dv4l.c 2008-02-13 05:01:13.000000000 +0900
+++ dv4l-1.0/dv4l.c 2009-04-03 07:31:34.000000000 +0900
@@ -556,7 +556,6 @@
act.sa_flags = SA_SIGINFO;
sigemptyset(&act.sa_mask);
sigaddset(&act.sa_mask, SIGIO);
- act.sa_restorer = NULL;
if(sigaction(SIGIO, &act, &old_sigio) == -1) {
perror("sigaction");
return -1;