sys-apps/bolt: fix building with gcc-10
authorMatthew Thode <prometheanfire@gentoo.org>
Thu, 30 Jan 2020 22:07:46 +0000 (16:07 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Thu, 30 Jan 2020 22:08:00 +0000 (16:08 -0600)
Closes: https://bugs.gentoo.org/706958
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
sys-apps/bolt/Manifest
sys-apps/bolt/bolt-0.7.ebuild [deleted file]
sys-apps/bolt/bolt-0.8-r1.ebuild [moved from sys-apps/bolt/bolt-0.8.ebuild with 83% similarity]

index 9a9183fe2ac4371195ca21041b0bea5675048661..9cb76e1b17ca293895aedb22199c32b6d8f4140c 100644 (file)
@@ -1,2 +1,2 @@
-DIST bolt-0.7.tar.gz 188158 BLAKE2B c51588ed746fd2aef15c79c278efe73e78ed8a029d2234b7a6ce717a6a3287ad0e9db82f93661c552a6a35c76a0e16a2712681f45e53f876b3b4f5bd839005b3 SHA512 6786f701501cc2680fac52cda7cdfe37971044abcf058b5c83bfa9f1d0a0381ba00e3377cfc97fcccf53760a2eafc1f8f6d0754f0e121d94201711ad8e40a135
 DIST bolt-0.8.tar.gz 219317 BLAKE2B 9d76f3630d7f690c96447a894e54095deb7a19e46f2b02d7fbd9e584376d6b1a19391007a3a80e293adc8c9de6470279b587807d08006bbc12c7179bf0501e40 SHA512 0fdbc026178a4ca6a8c53aa46933d1c411eb04e350955f8b10c7faff814576d0796dd28e56b968648e549c79cf5fa13d43970d797595af0f66457abaef8ace09
+DIST bolt-210.patch 694 BLAKE2B 237d314aa8e4b1ed92931b5cef3079c23a55eca0cbb15038a92acf49b6563152229ff2bca8b9e30088d24a2ffb6c206dac5f3d73b69531182f0639675af36d56 SHA512 307b7c7efc18d2a22311e15e314604bd7d9721b18dfb8a3bab0e1147c3109c65313c3f7fe788431e64e6b26796b8a1da7f1963f9c2cdd8199d0f54349c2f60ce
diff --git a/sys-apps/bolt/bolt-0.7.ebuild b/sys-apps/bolt/bolt-0.7.ebuild
deleted file mode 100644 (file)
index 28823c0..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit meson systemd
-
-DESCRIPTION="Userspace system daemon to enable security levels for Thunderbolt 3."
-HOMEPAGE="https://gitlab.freedesktop.org/bolt/bolt"
-SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc systemd"
-
-DEPEND="
-       >=dev-libs/glib-2.50.0:2
-       dev-util/glib-utils
-       virtual/libudev
-       virtual/udev
-       dev-util/umockdev
-       sys-auth/polkit[introspection]
-       systemd? ( sys-apps/systemd:0= )
-       doc? ( app-text/asciidoc )"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-       local emesonargs=(
-               -Dman=$(usex doc true false)
-               --sysconfdir=/etc
-               --localstatedir=/var
-               --sharedstatedir=/var/lib
-               -Dsystemd=$(usex systemd true false)
-       )
-       meson_src_configure
-}
-
-src_install() {
-       meson_src_install
-       keepdir /var/lib/boltd
-}
similarity index 83%
rename from sys-apps/bolt/bolt-0.8.ebuild
rename to sys-apps/bolt/bolt-0.8-r1.ebuild
index 7adce26d5ac72bd07e036ab4f43dafc1927fefa6..816710f173b7ae83a3006c7e226405efc82f0a59 100644 (file)
@@ -5,9 +5,10 @@ EAPI=6
 
 inherit meson systemd
 
-DESCRIPTION="Userspace system daemon to enable security levels for Thunderbolt 3."
+DESCRIPTION="Userspace system daemon to enable security levels for Thunderbolt 3"
 HOMEPAGE="https://gitlab.freedesktop.org/bolt/bolt"
-SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
+SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz
+       https://gitlab.freedesktop.org/bolt/bolt/merge_requests/210.patch -> ${PN}-210.patch"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
@@ -25,6 +26,10 @@ DEPEND="
        doc? ( app-text/asciidoc )"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+       "${DISTDIR}/${PN}-210.patch"
+)
+
 src_configure() {
        local emesonargs=(
                -Dman=$(usex doc true false)