]> git.pld-linux.org Git - packages/qca.git/commitdiff
- rel 4; Qt5 needs c++11 auto/th/qca-2.1.3-4
authorBartek Szady <bszx@bszx.eu>
Mon, 21 Oct 2019 15:34:23 +0000 (17:34 +0200)
committerBartek Szady <bszx@bszx.eu>
Mon, 21 Oct 2019 15:39:53 +0000 (17:39 +0200)
qca.spec
qt5.patch [new file with mode: 0644]

index dc969d2b251386591ba3f3d21d7665542f83d428..87b79d2ccff0f8a657cdf292ca4642ad43073e6f 100644 (file)
--- a/qca.spec
+++ b/qca.spec
@@ -2,12 +2,13 @@ Summary:      Qt Cryptographic Architecture (QCA) Library
 Summary(pl.UTF-8):     Biblioteka Qt Cryptographic Architecture (QCA)
 Name:          qca
 Version:       2.1.3
-Release:       3
+Release:       4
 License:       LGPL v2.1
 Group:         Libraries
 Source0:       http://download.kde.org/stable/qca/%{version}/src/%{name}-%{version}.tar.xz
 # Source0-md5: 5019cc29efcf828681cd93164238ce26
 Patch0:                openssl.patch
+Patch1:                qt5.patch
 URL:           http://delta.affinix.com/qca/
 BuildRequires: Qt5Core-devel
 BuildRequires: Qt5Gui-devel
@@ -80,6 +81,7 @@ programistów.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build4
diff --git a/qt5.patch b/qt5.patch
new file mode 100644 (file)
index 0000000..da6606e
--- /dev/null
+++ b/qt5.patch
@@ -0,0 +1,10 @@
+--- qca-2.1.3/CMakeLists.txt.orig      2019-10-15 19:40:02.865390511 +0200
++++ qca-2.1.3/CMakeLists.txt   2019-10-15 19:52:34.177220661 +0200
+@@ -49,6 +49,7 @@
+   # Do not automatically link Qt executables to qtmain target on Windows.
+   # QCA exucatables use console mode only. Not need to link against qtmain.lib.
+   set(Qt5_NO_LINK_QTMAIN ON)
++  set(CMAKE_CXX_STANDARD 11)
+   find_package(Qt5Core QUIET)
+   mark_as_advanced(Qt5Core_DIR)
+ endif()
This page took 0.075304 seconds and 4 git commands to generate.