1999-08-13 02:25:50 -04:00
|
|
|
--- mpg123.c.orig Wed Jun 16 01:51:36 1999
|
|
|
|
+++ mpg123.c Fri Aug 13 15:25:52 1999
|
|
|
|
@@ -27,6 +27,10 @@
|
1999-02-01 04:01:09 -05:00
|
|
|
#include <sched.h>
|
1998-11-24 20:30:34 -05:00
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef __FreeBSD__
|
|
|
|
+#include <floatingpoint.h>
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include "mpg123.h"
|
1999-02-01 04:01:09 -05:00
|
|
|
#include "getlopt.h"
|
1999-08-13 02:25:50 -04:00
|
|
|
#include "buffer.h"
|
|
|
|
@@ -780,6 +784,10 @@
|
1998-11-24 20:30:34 -05:00
|
|
|
_wildcard(&argc,&argv);
|
|
|
|
#endif
|
|
|
|
|
1999-08-13 02:25:50 -04:00
|
|
|
+#ifdef __FreeBSD__
|
|
|
|
+ fpsetmask(0);
|
|
|
|
+#endif
|
|
|
|
+
|
1998-11-24 20:30:34 -05:00
|
|
|
if(sizeof(short) != 2) {
|
1999-08-13 02:25:50 -04:00
|
|
|
fprintf(stderr,"Ouch SHORT has size of %d bytes (required: '2')\n",(int)sizeof(short));
|
|
|
|
exit(1);
|
|
|
|
@@ -913,17 +921,6 @@
|
|
|
|
&dirname, &filename))
|
|
|
|
fprintf(stderr, "\nDirectory: %s", dirname);
|
|
|
|
fprintf(stderr, "\nPlaying MPEG stream from %s ...\n", filename);
|
|
|
|
-
|
|
|
|
-#if !defined(GENERIC)
|
|
|
|
-{
|
|
|
|
- const char *term_type;
|
|
|
|
- term_type = getenv("TERM");
|
|
|
|
- if (!strcmp(term_type,"xterm"))
|
|
|
|
- {
|
|
|
|
- fprintf(stderr, "\033]0;%s\007", filename);
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|