From: Rick Farina Date: Tue, 28 Apr 2020 17:19:42 +0000 (-0400) Subject: net-wireless/rtl-sdr: add zerocopy use flag X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b13ad6350738f22961f02af13a2608d5494e936c;p=gentoo.git net-wireless/rtl-sdr: add zerocopy use flag Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Rick Farina --- diff --git a/net-wireless/rtl-sdr/metadata.xml b/net-wireless/rtl-sdr/metadata.xml index 1570f891c6a3..0fd1a19caca6 100644 --- a/net-wireless/rtl-sdr/metadata.xml +++ b/net-wireless/rtl-sdr/metadata.xml @@ -5,4 +5,7 @@ radio@gentoo.org Radio + + may cause a bus error on some ARM systems + diff --git a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild index 5b9fb0899d30..2f3140b29d22 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit cmake-utils multilib @@ -23,7 +23,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="" +IUSE="+zerocopy" DEPEND="virtual/libusb:1" RDEPEND="${DEPEND}" @@ -41,6 +41,7 @@ src_configure() { mycmakeargs=( -DINSTALL_UDEV_RULES=OFF -DDETACH_KERNEL_DRIVER=ON + -DENABLE_ZEROCOPY="$(usex zerocopy)" -DLIB_INSTALL_DIR=$(get_libdir) ) cmake-utils_src_configure