freebsd-ports/multimedia/vdr-plugin-softdevice/files/patch-shm-common.h
Juergen Lock 396d80a6a1 http://www.linuxtv.org/vdrwiki/index.php/Softdevice-plugin
This VDR plugin is a MPEG2 decoder.
It can be used as an output device for the vdr. Possible output devices are
Xv, DirectFB, Vidix or a framebuffer.

WWW: http://softdevice.berlios.de/
2011-03-26 19:20:28 +00:00

11 lines
305 B
C

--- shm-common.h.orig
+++ shm-common.h
@@ -20,7 +20,7 @@
#define CTL_KEY 5681
-#ifndef __APPLE__ // should rather be #ifdef LINUX
+#if !defined(__APPLE__) && !defined(__FreeBSD__) // should rather be #ifdef LINUX
union semun {
int val;
struct semid_ds *buf;