ports/accessibility/speech-dispatcher/files/patch-src__server__speechd.h
Alberto Villa 94db08640e - Update to 0.8.
- STAGEify.
- Use OPTIONS helpers.
2013-11-16 16:50:55 +00:00

11 lines
657 B
C

--- ./src/server/speechd.h.orig 2012-07-11 11:05:06.000000000 +0200
+++ ./src/server/speechd.h 2013-11-15 08:44:05.115355454 +0100
@@ -56,7 +56,7 @@
/* TODO: This fixes compilation for Mac OS X but might not be a correct
solution for other platforms. A better check is needed, possibly including
_POSIX_C_SOURCE and friends*/
-#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__APPLE__)
+#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__APPLE__) || defined(__FreeBSD__)
/* union semun is defined by including <sys/sem.h> */
#else
/* according to X/OPEN we have to define it ourselves */