Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Diff for wavplay
@ 1997-01-17  2:02 Christian Czezatke
  0 siblings, 0 replies; only message in thread
From: Christian Czezatke @ 1997-01-17  2:02 UTC (permalink / raw)


Hi!

Here is a small diff against wavplay 0.21w1. -- The essential thing is to
change "typedef unsigned long ulongT" to "typedef unsigned int ulongT".
in "play.h".

Here is the diff:
---------cut here ---------------------------------------------------
diff -ur wavplay021w1.old/play.c wavplay021w1/play.c
--- wavplay021w1.old/play.c     Sun May 12 22:34:34 1996
+++ wavplay021w1/play.c Mon Dec 23 12:26:42 1996
@@ -15,7 +15,12 @@
 #include "play.h"
 
 extern int errno;
+#ifdef __alpha__
+#include <string.h>
+#endif
+#ifndef __alpha__
 extern char *sys_errlist[];
+#endif
 
 /*********************************************************************
  * error handler for commandline version on WAVplay/record
diff -ur wavplay021w1.old/play.h wavplay021w1/play.h
--- wavplay021w1.old/play.h     Sat May 11 19:34:57 1996
+++ wavplay021w1/play.h Mon Dec 23 12:40:38 1996
@@ -12,8 +12,13 @@
 #define AUDIOLCK       0x33333333
 #endif
 
+#ifdef __alpha__
+typedef unsigned int ulongT;
+typedef unsigned short ushortT;
+#else
 typedef unsigned long ulongT;
 typedef unsigned short ushortT;
+#endif
 
 typedef struct {               /* header for WAV-Files */
        char    main_chunk[4];  /* 'RIFF' */
------------------- cut here -----------------------------------

If you still have problems with "wavplay" please let me know.

     Christian

--------------------------------------------------------------------
| Christian Czezatke, Student of Computer Science at the Vienna    |
| University Of Technology. -- Also hacking around with Linux and  |
| ACAD for fun and for profit.                                     |
--------------------------------------------------------------------
 Our continuing mission: To seek out knowledge of C, explore
 strange Un*x commands, to boldly code where no-one has manpage 4.
            - The Linux Programer's Guide

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-01-17  2:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-17  2:02 Diff for wavplay Christian Czezatke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox