summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2012-04-15 14:10:41 +0000
committerDavide Pesavento <pesa@gentoo.org>2012-04-15 14:10:41 +0000
commit5fc9817930c4bedcd2e63d0fae012694c400b520 (patch)
tree7dbff2c6358106b6802d3471287d50fb5ec35ac5 /x11-libs/qt-core/files
parentStable for amd64, wrt bug #412037 (diff)
downloadgentoo-2-5fc9817930c4bedcd2e63d0fae012694c400b520.tar.gz
gentoo-2-5fc9817930c4bedcd2e63d0fae012694c400b520.tar.bz2
gentoo-2-5fc9817930c4bedcd2e63d0fae012694c400b520.zip
Fix localization of date/time, bug 411929 by Franz Fellner. Patch has been merged upstream for Qt 4.8.2 (https://codereview.qt-project.org/20869).
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/qt-core/files')
-rw-r--r--x11-libs/qt-core/files/qt-core-4.8.1-localized-time.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-libs/qt-core/files/qt-core-4.8.1-localized-time.patch b/x11-libs/qt-core/files/qt-core-4.8.1-localized-time.patch
new file mode 100644
index 000000000000..39931cf42c3e
--- /dev/null
+++ b/x11-libs/qt-core/files/qt-core-4.8.1-localized-time.patch
@@ -0,0 +1,11 @@
+--- src/corelib/tools/qlocale_unix.cpp.org 2012-04-14 11:02:06.425917171 +0200
++++ src/corelib/tools/qlocale_unix.cpp 2012-04-14 11:02:50.247920549 +0200
+@@ -68,6 +68,8 @@
+ lang = QByteArray("C");
+ if (numeric.isEmpty())
+ numeric = lang;
++ if (time.isEmpty())
++ time = lang;
+ if (monetary.isEmpty())
+ monetary = lang;
+ if (lc_messages_var.isEmpty())