From cdaf725a9b8e45ee7b0992a6658130f97b0ff05f Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Mon, 7 Oct 2002 13:43:18 +0000 Subject: Add py-vorbis 1.0, object-oriented Python bindings for the vorbis library. --- audio/py-vorbis/files/patch-pyvorbisfile.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 audio/py-vorbis/files/patch-pyvorbisfile.c (limited to 'audio/py-vorbis/files/patch-pyvorbisfile.c') diff --git a/audio/py-vorbis/files/patch-pyvorbisfile.c b/audio/py-vorbis/files/patch-pyvorbisfile.c new file mode 100644 index 000000000000..7a33f3d00568 --- /dev/null +++ b/audio/py-vorbis/files/patch-pyvorbisfile.c @@ -0,0 +1,20 @@ +--- src/pyvorbisfile.c.orig Mon Sep 23 16:35:18 2002 ++++ src/pyvorbisfile.c Mon Sep 23 16:37:20 2002 +@@ -1,5 +1,17 @@ + #include ++ ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include ++#endif ++ ++#if (defined(BSD)) ++#include ++#define __BYTE_ORDER BYTE_ORDER ++#define __BIG_ENDIAN BIG_ENDIAN ++#else + #include ++#endif ++ + #include + + #include "general.h" -- cgit v1.2.3