Dash:
[t2-trunk.git] / package / mail / metamail / 65_metamail-2.7-usesox.patch
bloba1ca287c3ac903ac0a3bd7b1bfc0c74b7e33360d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../metamail/65_metamail-2.7-usesox.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
18 --- mm2.7/src/bin/showaudio.usesox Thu Feb 1 12:31:32 2001
19 +++ mm2.7/src/bin/showaudio Thu Feb 1 12:36:24 2001
20 @@ -151,6 +151,9 @@
21 # Solaris 2.0
22 /bin/audioconvert -i raw,voice -f sun $* | /bin/audioplay
23 exit $status
24 +else if (-e /usr/bin/play) then
25 +# Red Hat Linux
26 + exec /usr/bin/play $*
27 else
28 set dev=/dev/audio
29 endif