[zygrib] 06/22: wip: more fixes
Alastair McKinstry
mckinstry at moszumanska.debian.org
Mon Nov 21 12:59:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to tag debian/8.0.1-1
in repository zygrib.
commit ab95d45544edd4b64dd65a141617bc32371b3ac9
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Mon May 4 11:52:25 2015 +0100
wip: more fixes
---
debian/patches/qt5.patch | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/debian/patches/qt5.patch b/debian/patches/qt5.patch
index 0fc9893..63c8337 100644
--- a/debian/patches/qt5.patch
+++ b/debian/patches/qt5.patch
@@ -139,3 +139,21 @@ Index: zygrib-7.0.0/src/curvedrawer/CustomQwtClasses.h
#include <QPainter>
#include <QVector>
#include <QDateTime>
+Index: zygrib-7.0.0/src/main.cpp
+===================================================================
+--- zygrib-7.0.0.orig/src/main.cpp
++++ zygrib-7.0.0/src/main.cpp
+@@ -36,9 +36,10 @@ int main (int argc, char *argv[])
+ {
+ QApplication app(argc, argv);
+ qsrand(QTime::currentTime().msec());
+-
+- QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
+- QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8"));
++
++ // Removed in QT5. utf8 is default anyway
++ // QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
++ // QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8"));
+
+ #ifdef Q_OS_MACX
+ if ( QSysInfo::MacintoshVersion > QSysInfo::MV_10_8 )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/zygrib.git
More information about the debian-science-commits
mailing list