46b7762a82
Also switch maintainership to submitter with blessing of former maintainer. Other changes include: * fix for bug 191190 * Use new options syntax * Proper detection of PYTHON and FFMPEG * fix leftovers * strip libraries to satisfy stage-qa * conf: alias surround stuff to pcm.default * lib: split patches and refactor * utils: rename XMLTO to MANPAGES PR: 191524 Submitted by: Jan Beich Approved by: former maintainer (Aragon Gouveia)
19 lines
498 B
C
19 lines
498 B
C
--- src/pcm/pcm_direct.c~
|
|
+++ src/pcm/pcm_direct.c
|
|
@@ -44,12 +44,16 @@
|
|
*
|
|
*/
|
|
|
|
+#if defined(__NetBSD__)
|
|
+typedef __semun semun;
|
|
+#elif !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
|
union semun {
|
|
int val; /* Value for SETVAL */
|
|
struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */
|
|
unsigned short *array; /* Array for GETALL, SETALL */
|
|
struct seminfo *__buf; /* Buffer for IPC_INFO (Linux specific) */
|
|
};
|
|
+#endif
|
|
|
|
/*
|
|
* FIXME:
|