mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-17 00:00:40 +00:00
0d64b3f065
The patch can probably be made less specific to FreeBSD; to be visited after the 2.2.8 ports freeze ... Tweak work/.../Makefile to add -O2 to compiles. Submitted by: Matthew Hunt <mph@FreeBSD.ORG>
26 lines
394 B
Plaintext
26 lines
394 B
Plaintext
--- mpg123.c.orig Tue Nov 24 08:46:40 1998
|
|
+++ mpg123.c Tue Nov 24 08:47:25 1998
|
|
@@ -14,6 +14,10 @@
|
|
#include <sys/resource.h>
|
|
#endif
|
|
|
|
+#ifdef __FreeBSD__
|
|
+#include <floatingpoint.h>
|
|
+#endif
|
|
+
|
|
/* #define SET_PRIO */
|
|
|
|
#include "mpg123.h"
|
|
@@ -652,6 +656,10 @@
|
|
|
|
#ifdef OS2
|
|
_wildcard(&argc,&argv);
|
|
+#endif
|
|
+
|
|
+#ifdef __FreeBSD__
|
|
+ fpsetmask(0);
|
|
#endif
|
|
|
|
if(sizeof(short) != 2) {
|
|
|