diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-03-09 20:27:51 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-03-09 20:27:51 +0000 |
commit | 02602525de8960f31f6c919c67923b6957cdb443 (patch) | |
tree | 752381bdcbf64bb56e515595198544eb93570f7e /audio/jack/files/patch-engine.c | |
parent | o) fix annoying message when killall didn't find any lost slaves (diff) |
Add JACK an audio server
Requested by: epilogue@allstream.net
Notes
Notes:
svn path=/head/; revision=103465
Diffstat (limited to 'audio/jack/files/patch-engine.c')
-rw-r--r-- | audio/jack/files/patch-engine.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/jack/files/patch-engine.c b/audio/jack/files/patch-engine.c new file mode 100644 index 000000000000..1c6607fed22a --- /dev/null +++ b/audio/jack/files/patch-engine.c @@ -0,0 +1,25 @@ +--- jackd/engine.c.orig Sun Jan 11 20:07:13 2004 ++++ jackd/engine.c Tue Mar 9 19:43:47 2004 +@@ -36,7 +36,9 @@ + #include <fcntl.h> + #include <stdio.h> + #include <stdarg.h> ++#ifdef HAVE_STDINT_H + #include <stdint.h> ++#endif + #include <dirent.h> + #include <sys/ipc.h> + #include <signal.h> +@@ -2119,8 +2124,10 @@ + strerror (errno)); + return -1; + } +- +-#if defined(__APPLE__) && defined(__POWERPC__) ++#ifdef __FreeBSD__ ++#include <osreldate.h> ++#endif ++#if (defined(__APPLE__) && defined(__POWERPC__)) || (__FreeBSD_version < 501000) + // To be implemented + #else + if (mlockall (MCL_CURRENT | MCL_FUTURE) != 0) { |