summaryrefslogtreecommitdiff
path: root/package/firefox/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-12 11:50:53 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-12 11:50:53 +0200
commit21d272edadf566845647f72e39fcd7d3ad34c29c (patch)
tree9a4fff35163c592f44dd4a7588ae158bbf035cfa /package/firefox/patches
parent4fdfeb1433cc2fedf620cb2aa1678dbad535488c (diff)
fix cross-compile for mips64
Diffstat (limited to 'package/firefox/patches')
-rw-r--r--package/firefox/patches/patch-content_media_nsAudioStream_cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-content_media_nsAudioStream_cpp b/package/firefox/patches/patch-content_media_nsAudioStream_cpp
new file mode 100644
index 000000000..1452b9b6b
--- /dev/null
+++ b/package/firefox/patches/patch-content_media_nsAudioStream_cpp
@@ -0,0 +1,11 @@
+--- mozilla-1.9.2.orig/content/media/nsAudioStream.cpp 2010-04-02 18:02:19.000000000 +0200
++++ mozilla-1.9.2/content/media/nsAudioStream.cpp 2010-06-11 21:28:33.522214080 +0200
+@@ -246,7 +246,7 @@ float nsAudioStream::GetPosition()
+ #if defined(XP_WIN)
+ positionType = SA_POSITION_WRITE_HARDWARE;
+ #endif
+- PRInt64 position = 0;
++ int64_t position = 0;
+ if (sa_stream_get_position(static_cast<sa_stream_t*>(mAudioHandle),
+ positionType, &position) == SA_SUCCESS) {
+ return (position / float(mRate) / mChannels / sizeof(short));