patched to fix missing qt5 include in header [release 2.1.0.3-2mamba;Wed Dec 23 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 05:28:57 +01:00
parent d296292008
commit 166b599cbd
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- qca-qt5-2.1.0.3/include/QtCrypto/qca_basic.h.orig 2015-12-23 00:59:20.549274673 +0100
+++ qca-qt5-2.1.0.3/include/QtCrypto/qca_basic.h 2015-12-23 00:59:34.135167811 +0100
@@ -35,6 +35,8 @@
#include "qca_core.h"
+#include <QIODevice>
+
// Qt5 comes with QStringLiteral for wrapping string literals, which Qt4 does
// not have. It is needed if the headers are built with QT_NO_CAST_FROM_ASCII.
// Defining it here as QString::fromUtf8 for convenience.

View File

@ -2,7 +2,7 @@
Name: libqca
Version: 2.1.0.3
Release: 1mamba
Release: 2mamba
Summary: Qt Cryptographic Architecture (QCA)
Group: System/Libraries
Vendor: openmamba
@ -11,6 +11,7 @@ Packager: Aleph0 <aleph0@openmamba.org>
URL: http://delta.affinix.com/qca/
Source: http://download.kde.org/stable/qca-qt5/%{version}/src/qca-qt5-%{version}.tar.xz
Patch0: qca-2.0.3-gcc-4.7.patch
Patch1: libqca-2.1.0.3-qt5-5.5.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -62,6 +63,7 @@ This package contains static libraries and header files need for development.
%prep
%setup -q -n qca-qt5-%{version}
#%patch0 -p1
%patch1 -p1
%build
%cmake -d build \
@ -165,6 +167,9 @@ rm -fr %{buildroot}%{_qt4_datadir}/qca/certs
%doc README TODO
%changelog
* Wed Dec 23 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0.3-2mamba
- patched to fix missing qt5 include in header
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0.3-1mamba
- update to 2.1.0.3