mirror of https://git.FreeBSD.org/ports.git
Added -D_HAVE_PARAM_H to CFLAGS
This commit is contained in:
parent
a40317a9f9
commit
1892558582
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311
|
|
@ -1,6 +1,5 @@
|
|||
diff -c -r sbdsp.c.orig sbdsp.c
|
||||
*** sbdsp.c.orig Mon Jul 26 21:58:00 1993
|
||||
--- sbdsp.c Mon Oct 17 16:07:59 1994
|
||||
*** sbdsp.c.orig Mon Jul 26 12:58:00 1993
|
||||
--- sbdsp.c Mon Oct 31 18:26:56 1994
|
||||
***************
|
||||
*** 21,27 ****
|
||||
#include <i386/isa/sblast.h>
|
||||
|
|
@ -60,34 +59,3 @@ diff -c -r sbdsp.c.orig sbdsp.c
|
|||
#else
|
||||
ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 1);
|
||||
ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate);
|
||||
diff -c -r st.h.orig st.h
|
||||
*** st.h.orig Mon Jul 26 21:58:00 1993
|
||||
--- st.h Mon Oct 17 16:19:26 1994
|
||||
***************
|
||||
*** 34,39 ****
|
||||
--- 34,43 ----
|
||||
#include "amiga.h"
|
||||
#endif /* AMIGA */
|
||||
|
||||
+ #ifdef bsd
|
||||
+ #include <sys/param.h>
|
||||
+ #endif
|
||||
+
|
||||
/*
|
||||
* Handler structure for each format.
|
||||
*/
|
||||
***************
|
||||
*** 211,218 ****
|
||||
--- 215,226 ----
|
||||
#if defined(i386) || !defined(__STDC__)
|
||||
/* usually be a const in stdlib.h ?? */
|
||||
/* this is turning out to be a headache */
|
||||
+
|
||||
+ #if BSD < 199306
|
||||
extern char *sys_errlist[];
|
||||
#define strerror(errno) sys_errlist[errno]
|
||||
+ #endif
|
||||
+
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
*** Makefile.unx.orig Mon Jul 26 21:58:00 1993
|
||||
--- Makefile.unx Thu Oct 20 23:00:41 1994
|
||||
*** Makefile.unx.orig Mon Jul 26 12:58:00 1993
|
||||
--- Makefile.unx Mon Oct 31 19:19:42 1994
|
||||
***************
|
||||
*** 122,128 ****
|
||||
--- 122,139 ----
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
+
|
||||
+ # FreeBSD 1.x / 2.x
|
||||
+ CFLAGS = -O -DLINUXSOUND -Dbsd
|
||||
+ CFLAGS = -O -DLINUXSOUND -D_HAVE_PARAM_H
|
||||
+ CC = cc
|
||||
+ AR = ar r
|
||||
+ RANLIB = ranlib
|
||||
|
|
|
|||
Loading…
Reference in New Issue