aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdv/files/patch-playdv:oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libdv/files/patch-playdv:oss.c')
-rw-r--r--multimedia/libdv/files/patch-playdv:oss.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/libdv/files/patch-playdv:oss.c b/multimedia/libdv/files/patch-playdv:oss.c
new file mode 100644
index 000000000000..583be30e8f7b
--- /dev/null
+++ b/multimedia/libdv/files/patch-playdv:oss.c
@@ -0,0 +1,22 @@
+--- playdv/oss.c.orig Sun Nov 18 21:50:24 2001
++++ playdv/oss.c Sun Nov 18 21:53:48 2001
+@@ -36,6 +36,19 @@
+
+ #include "oss.h"
+
++#ifndef O_LARGEFILE
++# define O_LARGEFILE 0
++#endif
++
++#ifndef AFMT_S16_NE
++# include <machine/endian.h>
++# if BYTE_ORDER == LITTLE_ENDIAN
++# define AFMT_S16_NE AFMT_S16_LE
++# else
++# define AFMT_S16_NE AFMT_S16_BE
++# endif
++#endif
++
+ static const gchar *default_device = "/dev/audio";
+
+ dv_oss_t *