From 2f4c3550c50b8b9afa1652eff05e983b4e0d3f51 Mon Sep 17 00:00:00 2001 From: Florian Smeets Date: Thu, 30 Aug 2012 14:54:17 +0000 Subject: - update firefox and thunderbird to 15.0 - update firefox-esr, thunderbird-esr, linux-thunderbird and linux-firefox to 10.0.7 - update seamonkey and linux-seamonkey to 2.12 - update nss to 3.13.6 - update bsdipc code (posix_spawn, SysV shared memory) - rename patches to easily track those not (yet) submitted upstream - reduce package size, except for www/libxul[1] - restore default objdir to what it was in 13.0 - fix mail/enigmail after thunderbird build changes - don't accidentally pick up headers from installed ports[3] - add support for PREFIX != LOCALBASE to Makefile.webplugins [4] - document vulnerabilities in vuln.xml - *miscellaneous cleanups and fixups* Obtained from: OpenBSD ports[1] PR: ports/159831, ports/160933, ports/170467[3], ports/170236 [4] Submitted by: avilla [4] In collaboration with: Jan Beich Who did most of the hard work. --- www/firefox/files/patch-bug777696 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 www/firefox/files/patch-bug777696 (limited to 'www/firefox/files/patch-bug777696') diff --git a/www/firefox/files/patch-bug777696 b/www/firefox/files/patch-bug777696 new file mode 100644 index 000000000000..364608926d5a --- /dev/null +++ b/www/firefox/files/patch-bug777696 @@ -0,0 +1,32 @@ +commit 0c0d1a8 +Author: Landry Breuil +Date: Mon Jul 30 17:57:15 2012 +0200 + + Bug 777696: Fix gstreamer backend on big endian architectures. r=doublec +--- + content/media/gstreamer/nsGStreamerReader.cpp | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git content/media/gstreamer/nsGStreamerReader.cpp content/media/gstreamer/nsGStreamerReader.cpp +index 0fb801a..4a69196 100644 +--- content/media/gstreamer/nsGStreamerReader.cpp ++++ content/media/gstreamer/nsGStreamerReader.cpp +@@ -132,10 +132,18 @@ nsresult nsGStreamerReader::Init(nsBuiltinDecoderReader* aCloneDonor) + mAudioSink = gst_parse_bin_from_description("capsfilter name=filter ! " + #ifdef MOZ_TREMOR + "appsink name=audiosink sync=true caps=audio/x-raw-float," ++#ifdef IS_LITTLE_ENDIAN + "channels={1,2},rate=44100,width=32,endianness=1234", TRUE, NULL); + #else ++ "channels={1,2},rate=44100,width=32,endianness=4321", TRUE, NULL); ++#endif ++#else + "appsink name=audiosink sync=true caps=audio/x-raw-int," ++#ifdef IS_LITTLE_ENDIAN + "channels={1,2},rate=48000,width=16,endianness=1234", TRUE, NULL); ++#else ++ "channels={1,2},rate=48000,width=16,endianness=4321", TRUE, NULL); ++#endif + #endif + mAudioAppSink = GST_APP_SINK(gst_bin_get_by_name(GST_BIN(mAudioSink), + "audiosink")); -- cgit v1.2.3