mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 546092. Move endian.patch code to config.h. r=doublec
--HG-- extra : rebase_source : 12c8d9221c8e883e99dc81627b4d3ea398b6c8ab
This commit is contained in:
parent
5d7101fa24
commit
0de77f6075
@ -9,8 +9,6 @@ The git commit id used was cf5feeaab69b05 from git://git.xiph.org/liboggz.git
|
||||
The wince.patch addresses the lack of posix file IO support on windows ce,
|
||||
see bug 461844 for details.
|
||||
|
||||
endian.patch is applied to fix bug 452698.
|
||||
|
||||
key_frame_seek.patch fixes bug 463358.
|
||||
|
||||
offset_next.patch fixes bug 495366.
|
||||
|
@ -1,19 +0,0 @@
|
||||
diff --git a/media/liboggz/include/oggz/config_gcc.h b/media/liboggz/include/oggz/config_gcc.h
|
||||
--- a/media/liboggz/include/oggz/config_gcc.h
|
||||
+++ b/media/liboggz/include/oggz/config_gcc.h
|
||||
@@ -121,10 +121,15 @@
|
||||
/* #undef _XOPEN_SOURCE */
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to `long int' if <sys/types.h> does not define. */
|
||||
/* #undef off_t */
|
||||
|
||||
+#include "prcpucfg.h"
|
||||
+#ifdef IS_BIG_ENDIAN
|
||||
+#define WORDS_BIGENDIAN
|
||||
+#endif
|
||||
+
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
@ -2,5 +2,9 @@
|
||||
#include "config_win32.h"
|
||||
#else
|
||||
#include "config_gcc.h"
|
||||
#include "prcpucfg.h"
|
||||
#ifdef IS_BIG_ENDIAN
|
||||
#define WORDS_BIGENDIAN
|
||||
#endif
|
||||
#endif
|
||||
#undef DEBUG
|
||||
|
@ -126,10 +126,5 @@
|
||||
/* Define to `long int' if <sys/types.h> does not define. */
|
||||
/* #undef off_t */
|
||||
|
||||
#include "prcpucfg.h"
|
||||
#ifdef IS_BIG_ENDIAN
|
||||
#define WORDS_BIGENDIAN
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
@ -9,6 +9,10 @@ cat >./include/oggz/config.h <<EOF
|
||||
#include "config_win32.h"
|
||||
#else
|
||||
#include "config_gcc.h"
|
||||
#include "prcpucfg.h"
|
||||
#ifdef IS_BIG_ENDIAN
|
||||
#define WORDS_BIGENDIAN
|
||||
#endif
|
||||
#endif
|
||||
#undef DEBUG
|
||||
EOF
|
||||
@ -50,7 +54,6 @@ cp $1/src/liboggz/dirac.h ./src/liboggz/dirac.h
|
||||
cp $1/src/liboggz/dirac.c ./src/liboggz/dirac.c
|
||||
cp $1/AUTHORS ./AUTHORS
|
||||
patch -p3 <wince.patch
|
||||
patch -p3 <endian.patch
|
||||
patch -p3 <key_frame_seek.patch
|
||||
patch -p3 <offset_next.patch
|
||||
patch -p3 <bug487519.patch
|
||||
|
Loading…
Reference in New Issue
Block a user