1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/multimedia/libdv/files/patch-playdv-oss.c
Dennis Herrmann 726ed425e6 - Update to 1.0.0
- Pass maintainership to submitter

PR:		ports/133492
Submitted by:	Bapt <baptiste.daroussin@gmail.com>
Approved by:	miwi (mentor implicit)
2009-05-17 11:35:34 +00:00

23 lines
430 B
C

--- 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 char *default_device = "/dev/dsp";
dv_oss_t *