Hello community,

here is the log from the commit of package ibus-qt for openSUSE:Factory checked 
in at 2017-06-17 10:17:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ibus-qt (Old)
 and      /work/SRC/openSUSE:Factory/.ibus-qt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ibus-qt"

Sat Jun 17 10:17:09 2017 rev:17 rq:503046 version:1.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ibus-qt/ibus-qt.changes  2014-07-29 
16:47:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ibus-qt.new/ibus-qt.changes     2017-06-17 
10:17:10.652940782 +0200
@@ -1,0 +2,6 @@
+Mon Jun 12 08:59:25 UTC 2017 - [email protected]
+
+- Add fix-keysym-type.patch to fix type for KeySym. Fixes a runtime
+  crash with gcc7.
+
+-------------------------------------------------------------------

New:
----
  fix-keysym-type.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ibus-qt.spec ++++++
--- /var/tmp/diff_new_pack.FgIpxI/_old  2017-06-17 10:17:13.112593821 +0200
+++ /var/tmp/diff_new_pack.FgIpxI/_new  2017-06-17 10:17:13.116593257 +0200
@@ -25,6 +25,7 @@
 Url:            https://github.com/ibus/ibus-qt/
 Source:         
https://github.com/ibus/ibus-qt/releases/download/%{version}/%{name}-%{version}-Source.tar.gz
 Source99:      baselibs.conf
+Patch1:         fix-keysym-type.patch
 BuildRequires:  cmake
 BuildRequires:  dbus-1-devel >= 1.2
 BuildRequires:  doxygen
@@ -49,6 +50,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}-Source
+%patch1 -p1
 
 %build
 cmake \

++++++ fix-keysym-type.patch ++++++
Index: ibus-qt-1.3.3-Source/qtim/ibus-input-context.cpp
===================================================================
--- ibus-qt-1.3.3-Source.orig/qtim/ibus-input-context.cpp
+++ ibus-qt-1.3.3-Source/qtim/ibus-input-context.cpp
@@ -259,7 +259,7 @@ IBusInputContext::widgetDestroyed (QWidg
 #ifdef Q_WS_X11
 
 static inline bool
-translate_x_key_event (XEvent *xevent, uint *keyval, uint *keycode, uint 
*state)
+translate_x_key_event (XEvent *xevent, unsigned long *keyval, uint *keycode, 
uint *state)
 {
     Q_ASSERT (xevent);
     Q_ASSERT (keyval);
@@ -290,7 +290,7 @@ translate_x_key_event (XEvent *xevent, u
 bool
 IBusInputContext::x11FilterEvent (QWidget *keywidget, XEvent *xevent)
 {
-    uint keyval = 0;
+    unsigned long keyval = 0;
     uint keycode = 0;
     uint state = 0;
 

Reply via email to