1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/audio/maplay/files/patch-ai
Steve Price 20fe79de4b * Fixed patches not to change one file twice
* Rearrenged build target

PR:		15378
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-12-23 18:44:10 +00:00

73 lines
1.7 KiB
Plaintext

*** maplay.cc.orig Thu Jun 23 21:14:36 1994
--- maplay.cc Thu Dec 9 05:32:18 1999
***************
*** 54,67 ****
// data extracted from commandline arguments:
static char *filename;
! static bool verbose_mode = False, filter_check = False;
! static bool stdout_mode = False;
static enum e_channels which_channels = both;
! static bool use_speaker = False, use_headphone = False, use_line_out = False;
#ifdef ULAW
! static bool force_amd = False;
#endif
! static bool use_own_scalefactor = False;
static real scalefactor;
// data extracted from header of first frame:
--- 54,67 ----
// data extracted from commandline arguments:
static char *filename;
! static boolean verbose_mode = False, filter_check = False;
! static boolean stdout_mode = False;
static enum e_channels which_channels = both;
! static boolean use_speaker = False, use_headphone = False, use_line_out = False;
#ifdef ULAW
! static boolean force_amd = False;
#endif
! static boolean use_own_scalefactor = False;
static real scalefactor;
// data extracted from header of first frame:
***************
*** 93,99 ****
main (int argc, char *argv[])
{
int i;
! bool read_ready = False, write_ready = False;
if (argc < 2 || !strncmp (argv[1], "-h", 2))
{
--- 93,99 ----
main (int argc, char *argv[])
{
int i;
! boolean read_ready = False, write_ready = False;
if (argc < 2 || !strncmp (argv[1], "-h", 2))
{
***************
*** 146,151 ****
--- 146,154 ----
#ifdef Solaris
"SPARC Solaris 2.x"
#else
+ #ifdef __FreeBSD__
+ "FreeBSD"
+ #else
#ifdef LINUX
"Linux"
#else
***************
*** 153,158 ****
--- 156,162 ----
"RISC ULTRIX 4.x"
#else
"unknown"
+ #endif
#endif
#endif
#endif