X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=debian%2Fpatches%2Fcatch-sig-term;h=85fb67b23b612f63433a84c625344b6fef0f9479;hb=refs%2Fheads%2Fwheezy;hp=8db0677d16a09f892b322317f82e3a020c128123;hpb=2f7fe814004c2fb8243663a50a5b2779a30376e8;p=pkg%2Fbeep.git diff --git a/debian/patches/catch-sig-term b/debian/patches/catch-sig-term index 8db0677..85fb67b 100644 --- a/debian/patches/catch-sig-term +++ b/debian/patches/catch-sig-term @@ -1,11 +1,9 @@ Author: Jérôme Description: also catch SIGTERM for stopping the beep -Index: VCS/beep.c -=================================================================== ---- VCS.orig/beep.c 2012-06-10 10:03:39.000000000 +0200 -+++ VCS/beep.c 2012-06-10 10:03:59.000000000 +0200 -@@ -127,6 +127,7 @@ +--- beep-1.3.orig/beep.c ++++ beep-1.3/beep.c +@@ -127,6 +127,7 @@ void handle_signal(int signum) { switch(signum) { case SIGINT: @@ -13,7 +11,7 @@ Index: VCS/beep.c if(console_fd >= 0) { /* Kill the sound, quit gracefully */ do_beep(0); -@@ -321,6 +322,7 @@ +@@ -321,6 +322,7 @@ int main(int argc, char **argv) { parms->next = NULL; signal(SIGINT, handle_signal);