зеркало из https://github.com/mozilla/pjs.git
Bug 449754 - Ogg Theora backend for HTML5 video element failed to compile/work on Solaris; liboggz; r=chris.double sr=roc
This commit is contained in:
Родитель
fc6581aa0f
Коммит
8976b34529
|
@ -12,3 +12,6 @@ The warning.patch addresses a printf in liboggz that is not wrapped
|
|||
in a DEBUG #ifdef. See Mozilla bug 450891 and Annodex ticket 431:
|
||||
|
||||
http://trac.annodex.net/ticket/431
|
||||
|
||||
The oggz_off_t.patch fixes a compile error on Solaris see bug 449754
|
||||
for details
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#if defined(__APPLE__) || defined(SOLARIS)
|
||||
typedef off_t oggz_off_t;
|
||||
#else
|
||||
typedef loff_t oggz_off_t;
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
diff -r 070e364189c8 media/liboggz/include/oggz/oggz_off_t_generated.h
|
||||
--- a/media/liboggz/include/oggz/oggz_off_t_generated.h Wed Nov 26 09:04:13 2008 -0600
|
||||
+++ b/media/liboggz/include/oggz/oggz_off_t_generated.h Thu Nov 27 17:56:54 2008 +0800
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
-#ifdef __APPLE__
|
||||
+#if defined(__APPLE__) || defined(SOLARIS)
|
||||
typedef off_t oggz_off_t;
|
||||
#else
|
||||
typedef loff_t oggz_off_t;
|
|
@ -43,3 +43,4 @@ sed s/\#include\ \"config.h\"/\#ifdef\ WIN32\\n\#include\ \"config_win32.h\"\\n\
|
|||
cp $1/AUTHORS ./AUTHORS
|
||||
patch -p4 <seek.patch
|
||||
patch -p4 <warning.patch
|
||||
patch -p3 <oggz_off_t.patch
|
||||
|
|
Загрузка…
Ссылка в новой задаче