Hello community,

here is the log from the commit of package libqca-qt5 for openSUSE:Factory 
checked in at 2016-05-31 12:11:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqca-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.libqca-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqca-qt5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqca-qt5/libqca-qt5.changes    2015-10-03 
20:30:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libqca-qt5.new/libqca-qt5.changes       
2016-05-31 12:11:45.000000000 +0200
@@ -1,0 +2,6 @@
+Wed May 25 18:17:55 UTC 2016 - [email protected]
+
+- Fix build on PowerPC with GCC 6:
+  * Add libqca-qt5-2.1.1-explicit-signed-char.patch
+
+-------------------------------------------------------------------

New:
----
  libqca-qt5-2.1.1-explicit-signed-char.patch

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

Other differences:
------------------
++++++ libqca-qt5.spec ++++++
--- /var/tmp/diff_new_pack.oCB9uB/_old  2016-05-31 12:11:46.000000000 +0200
+++ /var/tmp/diff_new_pack.oCB9uB/_new  2016-05-31 12:11:46.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libqca-qt5
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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 @@
 Source99:       libqca-qt5-rpmlintrc
 # PATCH-FIX-OPENSUSE ansi.diff -- rh#1182200. drop ansi flags in order to 
compile with latest gcrypt
 Patch0:         ansi.diff
+# PATCH-FIX-UPSTREAM libqca-qt5-2.1.1-explicit-signed-char.patch -- fix build 
on PPC with GCC 6
+Patch1:         libqca-qt5-2.1.1-explicit-signed-char.patch
 BuildRequires:  ca-certificates
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  cyrus-sasl-devel
@@ -86,6 +88,7 @@
 %prep
 %setup -q -n qca-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %cmake \

++++++ libqca-qt5-2.1.1-explicit-signed-char.patch ++++++
>From ce0f32845608eb466053043b0229ea8dd2cb77b3 Mon Sep 17 00:00:00 2001
From: Antoine Belvire <[email protected]>
Date: Wed, 25 May 2016 20:05:22 +0200
Subject: [PATCH] Fix build with PPC architecture

'char' is not necessarily signed by default, it depends on the hardware
architecture. On PowerPC for example, it is unsigned.

This commit just changes a 'char' - which was assumed to be signed - into
signed char' and thus fix potential build errors on PPC (notably with GCC 6).
---
 src/qca_textfilter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qca_textfilter.cpp b/src/qca_textfilter.cpp
index 9889a24..3baf511 100644
--- a/src/qca_textfilter.cpp
+++ b/src/qca_textfilter.cpp
@@ -293,7 +293,7 @@ static QByteArray b64decode(const QByteArray &s, bool *ok)
        // 64 specifies eof
        // everything else specifies data
 
-       static char tbl[] =
+       static signed char tbl[] =
        {
                -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
                -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-- 
2.8.2


Reply via email to