Hello community,

here is the log from the commit of package perl-qt4 for openSUSE:Factory 
checked in at 2016-06-19 12:52:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-qt4 (Old)
 and      /work/SRC/openSUSE:Factory/.perl-qt4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-qt4"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-qt4/perl-qt4.changes        2014-11-19 
20:27:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-qt4.new/perl-qt4.changes   2016-06-19 
12:52:48.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Jun 16 14:28:44 UTC 2016 - wba...@tmo.at
+
+- Added gcc6-fix.patch to fix build with gcc6 (boo#985188, kde#360844)
+
+-------------------------------------------------------------------

New:
----
  gcc6-fix.patch

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

Other differences:
------------------
++++++ perl-qt4.spec ++++++
--- /var/tmp/diff_new_pack.uOh6fS/_old  2016-06-19 12:52:49.000000000 +0200
+++ /var/tmp/diff_new_pack.uOh6fS/_new  2016-06-19 12:52:49.000000000 +0200
@@ -24,6 +24,8 @@
 Group:          Development/Languages/Perl
 Url:            https://projects.kde.org/projects/kde/kdebindings/perl/perlqt
 Source0:        perlqt-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM gcc6-fix.patch boo#985188, kde#360844 -- fix build with 
gcc6
+Patch:          gcc6-fix.patch
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem
 BuildRequires:  kdebindings-smokegen
@@ -53,6 +55,7 @@
 
 %prep
 %setup -q -n perlqt-%{version}
+%patch -p1
 
 %build
   EXTRA_FLAGS="-DCUSTOM_PERL_SITE_ARCH_DIR=`perl -MConfig -e 'print 
$Config{vendorarch}'`"

++++++ gcc6-fix.patch ++++++
>From 70100c1865985e0cabbba5716cb9a6df8099b377 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 22 Mar 2016 11:27:24 +0100
Subject: [PATCH] Initialize smokeperl_object properly
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch fixes this build failure with GCC 6:

/builddir/build/BUILD/Qt-0.96.0/qtcore/src/util.cpp:2248:59: error: cannot 
convert 'bool' to 'void*' in initialization
         static smokeperl_object nothis = { 0, 0, 0, false };
                                                           ^
CPAN RT#111630

Signed-off-by: Petr Písař <ppi...@redhat.com>
---
 qtcore/src/util.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qtcore/src/util.cpp b/qtcore/src/util.cpp
index b913af3..4c94e2c 100644
--- a/qtcore/src/util.cpp
+++ b/qtcore/src/util.cpp
@@ -2251,7 +2251,7 @@ XS(XS_AUTOLOAD) {
                 methcache.insert(mcid, new Smoke::ModuleIndex(mi));
         }
 
-        static smokeperl_object nothis = { 0, 0, 0, false };
+        static smokeperl_object nothis = { 0, 0, 0, NULL };
         smokeperl_object* call_this = 0;
         if ( SvOK(sv_this) ) {
             call_this = sv_obj_info( sv_this );
-- 
2.5.5


Reply via email to