summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2011-12-28 21:38:26 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2011-12-28 21:38:26 +0000
commit6b8139be899f02a1e76898198347d4515bf4e40f (patch)
treeee72762979544887bbac5dd13703e96c196efed3 /media-video/noad/files
parentVersion bump wrt #395611 by Ivan S. Titov (diff)
downloadgentoo-2-6b8139be899f02a1e76898198347d4515bf4e40f.tar.gz
gentoo-2-6b8139be899f02a1e76898198347d4515bf4e40f.tar.bz2
gentoo-2-6b8139be899f02a1e76898198347d4515bf4e40f.zip
version bump, fix for newer ffmpeg, bug #394741; thx to E.Seifert
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'media-video/noad/files')
-rw-r--r--media-video/noad/files/patches-0.7.x/noad-0.7.3-hangcheck.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-video/noad/files/patches-0.7.x/noad-0.7.3-hangcheck.diff b/media-video/noad/files/patches-0.7.x/noad-0.7.3-hangcheck.diff
new file mode 100644
index 000000000000..37788a197fd7
--- /dev/null
+++ b/media-video/noad/files/patches-0.7.x/noad-0.7.3-hangcheck.diff
@@ -0,0 +1,21 @@
+diff -ru noad-0.6.0-orig/main.cpp noad-0.6.0/main.cpp
+--- noad-0.6.0-orig/main.cpp 2007-05-12 17:28:01.000000000 +0200
++++ noad-0.6.0/main.cpp 2007-05-12 18:20:30.000000000 +0200
+@@ -566,10 +566,17 @@
+ signal(SIGABRT, signal_handler);
+ signal(SIGSEGV, signal_handler);
+ signal(SIGUSR1, signal_handler);
++ signal(SIGALRM, signal_handler);
+
+ // do cleanup at exit...
+ atexit(cleanUp);
+
++
++ if (!bOnline) {
++ // now start alarm timer to kill hanging noad (hardcoded 30min timeout)
++ alarm(30*60);
++ }
++
+ // now do the work..,
+ doNoad(bBefore, recDir);
+