aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2012-03-19 20:10:47 +0000
committerJuergen Lock <nox@FreeBSD.org>2012-03-19 20:10:47 +0000
commit07ff3cd47cb0c2643886cf5813f32bce9a7ebd46 (patch)
tree044455ca7036862631d0497aabbca10994be1597 /multimedia
parent2ab1c8797594046ac5a1b45af7588985253f306e (diff)
downloadports-07ff3cd47cb0c2643886cf5813f32bce9a7ebd46.tar.gz
ports-07ff3cd47cb0c2643886cf5813f32bce9a7ebd46.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libxine/files/patch-src-audio_dec-xine_lpcm_decoder.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/libxine/files/patch-src-audio_dec-xine_lpcm_decoder.c b/multimedia/libxine/files/patch-src-audio_dec-xine_lpcm_decoder.c
new file mode 100644
index 000000000000..280ac7fa29da
--- /dev/null
+++ b/multimedia/libxine/files/patch-src-audio_dec-xine_lpcm_decoder.c
@@ -0,0 +1,12 @@
+--- src/audio_dec/xine_lpcm_decoder.c.orig
++++ src/audio_dec/xine_lpcm_decoder.c
+@@ -30,6 +30,9 @@
+ #endif
+ /* avoid compiler warnings */
+ #define _BSD_SOURCE 1
++#ifdef __FreeBSD__
++#define __BSD_VISIBLE 1
++#endif
+
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"