dev-db/qt5-sqlcipher: Fix build with Qt 5.9.4.
authorUlrich Müller <ulm@gentoo.org>
Wed, 14 Feb 2018 20:59:19 +0000 (21:59 +0100)
committerUlrich Müller <ulm@gentoo.org>
Wed, 14 Feb 2018 20:59:19 +0000 (21:59 +0100)
Cached files for Qt versions 5.9.3 and 5.9.4 are identical, so simpy
copy them.

Bug: https://bugs.gentoo.org/647624
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-db/qt5-sqlcipher/qt5-sqlcipher-0.1.1_pre20171202.ebuild

index 75caf3f0bb1a9dae23237c0efcfe1ea3455d81c9..74d3f8006b7930bb514625655f8e91e745d60dcd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,6 +24,8 @@ DOCS=(README.md)
 src_prepare() {
        eapply "${FILESDIR}"/${PN}-install-path.patch
        sed -i -e "s/@LIBDIR@/$(get_libdir)/" CMakeLists.txt || die
+       # workaround for bug 647624 (Qt 5.9.3 and 5.9.4 files are identical)
+       cp -R qt-file-cache/5.9.{3,4} || die
        cmake-utils_src_prepare
 }