mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 04:30:37 -04:00
* Respect PTHREAD_{CFLAGS,LIBS} * Make sure pulse-dependent applications are linked against PTHREAD_LIBS [1] * Add missing pulse and pulse-access user and groups Reported by: Romain Tartiere <romain@blogreen.org> [1]
25 lines
580 B
C
25 lines
580 B
C
--- src/modules/oss-util.c.orig Sun Apr 29 19:53:31 2007
|
|
+++ src/modules/oss-util.c Sun Apr 29 19:55:24 2007
|
|
@@ -40,6 +40,22 @@
|
|
|
|
#include "oss-util.h"
|
|
|
|
+#ifndef DSP_CAP_COPROC
|
|
+#define DSP_CAP_COPROC 0x00000800
|
|
+#endif
|
|
+#ifndef DSP_CAP_TRIGGER
|
|
+#define DSP_CAP_TRIGGER 0x00001000
|
|
+#endif
|
|
+#ifndef DSP_CAP_MMAP
|
|
+#define DSP_CAP_MMAP 0x00002000
|
|
+#endif
|
|
+#ifndef DSP_CAP_MULTI
|
|
+#define DSP_CAP_MULTI 0x00004000
|
|
+#endif
|
|
+#ifndef DSP_CAP_BIND
|
|
+#define DSP_CAP_BIND 0x00008000
|
|
+#endif
|
|
+
|
|
int pa_oss_open(const char *device, int *mode, int* pcaps) {
|
|
int fd = -1;
|
|
int caps;
|