mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 16:10:33 -04:00
FreeBSD-specific improvements: - working WiFi geolocation [1] (can be turned off in preferences) - fix build with clang (use external libvpx) - use SysV SHM model and where possible OS_BSD, which saves some patches - no need to use ZygoteProcess switch HTML5 audio is currently broken. PR: ports/174402 [1] Submitted by: J.R. Oldroyd <fbsd@opal.com> [1] Security: http://www.vuxml.org/freebsd/46bd747b-5b84-11e2-b06d-00262d5ed8ee.html
20 lines
583 B
C++
20 lines
583 B
C++
--- ui/base/l10n/l10n_util.cc.orig 2012-11-28 04:02:47.000000000 +0200
|
|
+++ ui/base/l10n/l10n_util.cc 2012-12-04 22:11:25.000000000 +0200
|
|
@@ -33,7 +33,7 @@
|
|
#include "base/android/locale_utils.h"
|
|
#endif
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
#include <glib.h>
|
|
#endif
|
|
|
|
@@ -419,7 +419,7 @@
|
|
if (!pref_locale.empty())
|
|
candidates.push_back(pref_locale);
|
|
|
|
-#elif defined(OS_LINUX)
|
|
+#elif defined(OS_LINUX) || defined(OS_BSD)
|
|
// If we're on a different Linux system, we have glib.
|
|
|
|
// GLib implements correct environment variable parsing with
|