This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libqt3/libqt-3.3.8-gcc43.patch

24 lines
1.2 KiB
Diff

diff -Nru qt-x11-free-3.3.8.orig/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp
--- qt-x11-free-3.3.8.orig/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp 2009-03-20 13:41:12.000000000 +0100
+++ qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp 2009-03-20 13:41:52.000000000 +0100
@@ -44,7 +44,7 @@
#include "qnoneinputcontextplugin.h"
#include <qinputcontextfactory.h>
#include <qsettings.h>
-
+#include <cstdlib>
QNoneInputContextPlugin::QNoneInputContextPlugin()
{
diff -Nru qt-x11-free-3.3.8.orig/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp qt-x11-free-3.3.8/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp
--- qt-x11-free-3.3.8.orig/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp 2009-03-20 13:41:12.000000000 +0100
+++ qt-x11-free-3.3.8/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp 2009-03-20 13:42:04.000000000 +0100
@@ -45,6 +45,7 @@
#include <qnamespace.h>
#include <qevent.h>
#include <qglobal.h>
+#include <algorithm>
static const int ignoreKeys[] = {
Qt::Key_Shift,