summaryrefslogtreecommitdiff
path: root/recipes/dvd+rw-tools/files/07-beeping.dpatch
blob: 7b9a5cec34452d01137a6cabf35bc5f3c9484579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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__)