freebsd-ports/www/seamonkey/files/patch-mozilla-content-media-nsAudioStream.cpp
Florian Smeets 347fe3474d - update to 2.16
- add DuckDuckGo search plugin [1]

Security:	http://www.vuxml.org/freebsd/e3f0374a-7ad6-11e2-84cd-d43d7e0c7c02.html
Submitted by:	DuckDuckGo [1]
In collaboration with:	Jan Beich <jbeich@tormail.org>
2013-02-20 22:32:32 +00:00

11 lines
517 B
C++

--- mozilla/content/media/AudioStream.cpp~
+++ mozilla/content/media/AudioStream.cpp
@@ -298,7 +298,7 @@ static int PrefChanged(const char* aPref, void* aClosure)
gVolumeScale = NS_MAX<double>(0, PR_strtod(utf8.get(), nullptr));
}
} else if (strcmp(aPref, PREF_USE_CUBEB) == 0) {
-#ifdef MOZ_WIDGET_GONK
+#if defined(MOZ_WIDGET_GONK) || defined(__FreeBSD__) && __FreeBSD_version < 800097
bool value = Preferences::GetBool(aPref, false);
#else
bool value = Preferences::GetBool(aPref, true);