Hello community,

here is the log from the commit of package ibus-pinyin for openSUSE:Factory 
checked in at 2015-11-06 00:04:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old)
 and      /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ibus-pinyin"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes  2014-05-02 
13:56:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes     
2015-11-06 00:04:21.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Nov  4 11:57:26 UTC 2015 - [email protected]
+
+- Wlogical-not-parentheses.patch: fix -Wlogical-not-parentheses warning
+
+-------------------------------------------------------------------

New:
----
  Wlogical-not-parentheses.patch

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

Other differences:
------------------
++++++ ibus-pinyin.spec ++++++
--- /var/tmp/diff_new_pack.NHQIqf/_old  2015-11-06 00:04:22.000000000 +0100
+++ /var/tmp/diff_new_pack.NHQIqf/_new  2015-11-06 00:04:22.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ibus-pinyin
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,8 @@
 Patch1:         ibus-pinyin-support-set-content-type-method.patch
 # PATCH-FIX-FEDORA ibus-pinyin-fixes-lua-compile.patch [email protected] -- fix 
build with lua 5.2
 Patch2:         ibus-pinyin-fixes-lua-compile.patch
+# PATCH-FIX-UPSTREAM Fix -Wlogical-not-parentheses warning
+Patch3:         Wlogical-not-parentheses.patch
 BuildRequires:  boost-devel
 BuildRequires:  gcc-c++
 BuildRequires:  gettext-devel
@@ -58,6 +60,7 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %configure --disable-static \

++++++ Wlogical-not-parentheses.patch ++++++
>From 2574beed11360a6b14cd09f75986fbde3e1cf84f Mon Sep 17 00:00:00 2001
From: Andreas Schwab <[email protected]>
Date: Wed, 4 Nov 2015 12:51:44 +0100
Subject: [PATCH] Fix -Wlogical-not-parentheses warning

---
 src/PYExtEditor.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PYExtEditor.cc b/src/PYExtEditor.cc
index 7b5d0e6..6e42d4c 100644
--- a/src/PYExtEditor.cc
+++ b/src/PYExtEditor.cc
@@ -494,7 +494,7 @@ ExtEditor::updateStateFromInput (void)
         return FALSE;
     }
 
-    if ( ! 'i' == m_text[0] ) {
+    if (m_text[0] != 'i') {
         g_warning ("i is expected in m_text string.\n");
         return FALSE;
     }
-- 
2.6.2


Reply via email to