[packages/perl-Qt4] - don't use bool for NULL replacement - rel 7

baggins baggins at pld-linux.org
Mon Jun 12 12:11:10 CEST 2017


commit fda30796356197d66954d4672aad76ac940c4efe
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jun 12 12:10:50 2017 +0200

    - don't use bool for NULL replacement
    - rel 7

 invalid-type.patch | 11 +++++++++++
 perl-Qt4.spec      |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/perl-Qt4.spec b/perl-Qt4.spec
index fa86cb6..df2df68 100644
--- a/perl-Qt4.spec
+++ b/perl-Qt4.spec
@@ -11,11 +11,12 @@ Summary:	Qt4 - A Perl module interface to Qt4
 Summary(pl.UTF-8):	Qt4 - interfejs Perla do Qt4
 Name:		perl-Qt4
 Version:	4.14.3
-Release:	6
+Release:	7
 License:	GPL
 Group:		Development/Languages/Perl
 Source0:	http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
 # Source0-md5:	d410c5b95680d1c56d037d22ef984479
+Patch0:		invalid-type.patch
 URL:		http://www.kde.org/
 BuildRequires:	QtXmlPatterns-devel
 BuildRequires:	kde4-smokeqt-devel >= %{version}
@@ -48,6 +49,7 @@ Plik nagłówkoww perl Qt 4.
 
 %prep
 %setup -q -n %{orgname}-%{version}
+%patch0 -p1
 
 %build
 install -d build
diff --git a/invalid-type.patch b/invalid-type.patch
new file mode 100644
index 0000000..1f09254
--- /dev/null
+++ b/invalid-type.patch
@@ -0,0 +1,11 @@
+--- perlqt-4.14.3/qtcore/src/util.cpp~	2014-11-04 23:59:39.000000000 +0100
++++ perlqt-4.14.3/qtcore/src/util.cpp	2017-06-12 12:07:34.665165047 +0200
+@@ -2251,7 +2251,7 @@
+                 methcache.insert(mcid, new Smoke::ModuleIndex(mi));
+         }
+ 
+-        static smokeperl_object nothis = { 0, 0, 0, false };
++        static smokeperl_object nothis = { 0, 0, 0, nullptr };
+         smokeperl_object* call_this = 0;
+         if ( SvOK(sv_this) ) {
+             call_this = sv_obj_info( sv_this );
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Qt4.git/commitdiff/fda30796356197d66954d4672aad76ac940c4efe



More information about the pld-cvs-commit mailing list