summaryrefslogtreecommitdiff
path: root/recipes/dvd+rw-tools/files/07-beeping.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dvd+rw-tools/files/07-beeping.dpatch')
-rw-r--r--recipes/dvd+rw-tools/files/07-beeping.dpatch27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/dvd+rw-tools/files/07-beeping.dpatch b/recipes/dvd+rw-tools/files/07-beeping.dpatch
new file mode 100644
index 0000000000..7b9a5cec34
--- /dev/null
+++ b/recipes/dvd+rw-tools/files/07-beeping.dpatch
@@ -0,0 +1,27 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 06-beeping.dpatch by Matt Zimmerman <mdz@canonical.com>
+##
+## DP: Disable obnoxious beeping.
+
+@DPATCH@
+
+diff -Naurp dvd+rw-tools-7.1.orig/growisofs.c dvd+rw-tools-7.1/growisofs.c
+--- dvd+rw-tools-7.1.orig/growisofs.c 2008-04-01 09:04:51.000000000 +0000
++++ dvd+rw-tools-7.1/growisofs.c 2008-04-01 09:08:58.000000000 +0000
+@@ -3453,14 +3453,14 @@ int main (int argc, char *argv[])
+ printf ("'\n");
+ fflush (stdout);
+
+- if ((warn_for_isofs&2) && !dry_run && !no_tty_check)
++/* if ((warn_for_isofs&2) && !dry_run && !no_tty_check)
+ { fprintf (stderr,"Sleeping for 5 sec...\a"), poll (NULL,0,1000);
+ fprintf (stderr,"\b\b\b\b\b\b\b\b4 sec...\a"), poll (NULL,0,1000);
+ fprintf (stderr,"\b\b\b\b\b\b\b\b3 sec...\a"), poll (NULL,0,1000);
+ fprintf (stderr,"\b\b\b\b\b\b\b\b2 sec...\a"), poll (NULL,0,1000);
+ fprintf (stderr,"\b\b\b\b\b\b\b\b1 sec...\a"), poll (NULL,0,1000);
+ fprintf (stderr,"\b\b\b\b\b\b\b\b0 sec...\r");
+- }
++ } */
+
+ #if defined(__unix) || defined(__unix__)
+