diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-20 10:51:38 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-20 10:51:38 +0000 |
commit | 2a772453817aae7626a1b6588554dad9e7aee2a9 (patch) | |
tree | 4838a69c35cad360e9d227b44b8df4e3a744a05b /audio/ximp3/files | |
parent | 462a70702ce48e8e9e67d4ff9c0f54c6ca63b7f8 (diff) | |
download | ports-2a772453817aae7626a1b6588554dad9e7aee2a9.tar.gz ports-2a772453817aae7626a1b6588554dad9e7aee2a9.zip |
Notes
Diffstat (limited to 'audio/ximp3/files')
-rw-r--r-- | audio/ximp3/files/patch-lib::L3.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/audio/ximp3/files/patch-lib::L3.h b/audio/ximp3/files/patch-lib::L3.h new file mode 100644 index 000000000000..3148ca42a62e --- /dev/null +++ b/audio/ximp3/files/patch-lib::L3.h @@ -0,0 +1,28 @@ +--- lib/L3.h.orig Sat Oct 27 23:05:42 2001 ++++ lib/L3.h Mon Aug 18 20:18:00 2003 +@@ -39,6 +39,16 @@ + #define GLOBAL_GAIN_SCALE (4*15) + /* #define GLOBAL_GAIN_SCALE 0 */ + ++#include <sys/types.h> ++ ++#ifdef BYTE_ORDER ++#if BYTE_ORDER == LITTLE_ENDIAN ++#define L_ENDIAN 1 ++#else ++#define L_ENDIAN 0 ++#endif ++#else ++ + #ifdef i386 + #define L_ENDIAN 1 + #endif +@@ -53,6 +63,8 @@ + + #ifdef sparc + #define L_ENDIAN 0 ++#endif ++ + #endif + + #ifndef L_ENDIAN |