diff options
Diffstat (limited to 'net-wireless/rtl-sdr')
-rw-r--r-- | net-wireless/rtl-sdr/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/files/rtl-sdr-0.5.3-static-inline.patch | 66 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-0.5.3_p20150730.ebuild | 53 |
3 files changed, 0 insertions, 122 deletions
diff --git a/net-wireless/rtl-sdr/Manifest b/net-wireless/rtl-sdr/Manifest index 37714f32df38..2e5c247aac01 100644 --- a/net-wireless/rtl-sdr/Manifest +++ b/net-wireless/rtl-sdr/Manifest @@ -1,7 +1,4 @@ -AUX rtl-sdr-0.5.3-static-inline.patch 1994 BLAKE2B b986fdeb438f9f566b74c4f0914019667c45a654eeb6c875e5d20bbdf8be37e5881db9648fc556354f1b20c9fdfec62c5afddebfbd76c0685ebbe6f6908efb80 SHA512 f7de6345a9ede8b05ebdd28a3c1fd07a58caadafe24a1009ca05d82d9cd8fbc86fc04fe545d05c951cea7b6b819e54911f8b4ad06ce7fbe8d998e51d9480ac3e -DIST rtl-sdr-0.5.3_p20150730.tar.xz 485476 BLAKE2B 950d6b6d959bf6998c1ddb0c8ee55621e05ccce16abc7b03ee6632dc194249a8cea75f68697a54c0e156750708f14365bbb327f4198e36a9e042898ea015f945 SHA512 b19e9ce6ebc1c63a26ad3d8b13ccdcac76d4dee317aba547a8cd760e59256251df59ecc3ff6f8cb42d9be8235d67bd280f3373e58acb64f553fae5e3c2d113a6 DIST rtl-sdr-0.5.3_p20170919.tar.xz 98972 BLAKE2B fb7d977bd05a2c717897ba58a2242698d1a90cf38a7a8340d7ec8c3aefeeff49bfe9612285253b27c6726ae584172e0b26c8f535bc4bec704958c1296e232f04 SHA512 b1b97c720882ccbe8be8e30af28b8d52c5a27507861bdb9e964e153cd8ece9de977abd271b68861c163a7cf239044f28c8d17ccda5ff5acf60f17d839d782a82 -EBUILD rtl-sdr-0.5.3_p20150730.ebuild 1074 BLAKE2B f6e0df306e19cc6dd9932660153ed44958c4e22d0c3a080963105179bb8e18c8e2f3531891f4d39614e718c1402028f012ed847fc7a9f4a0511b981b15af6d8a SHA512 9eabb3496eed4409b2382a5a76f1c3e68219111c8ae56f2a25739c05eb53cf520203ce7ac612535ef6b7a0eda75cb40a2f57ab5c01ccd3c4b216ed3debf96932 EBUILD rtl-sdr-0.5.3_p20170919.ebuild 1158 BLAKE2B 060c6584b65db1609668b8fe4d00193f4cc449e3cb3eab530200c7e16914fc18169237734039394eacc2abeb790ac73b6dc72d8e6bd630d8f60a96bfcc88d764 SHA512 7fe51f8e935b15509c12382c43bbc17e5db09ce3917e4fc8786fc96276b58781066c6069478d067c91cdb78fabb09e6bf05a6f55776f073f0811264b472a241b EBUILD rtl-sdr-9999.ebuild 1158 BLAKE2B 060c6584b65db1609668b8fe4d00193f4cc449e3cb3eab530200c7e16914fc18169237734039394eacc2abeb790ac73b6dc72d8e6bd630d8f60a96bfcc88d764 SHA512 7fe51f8e935b15509c12382c43bbc17e5db09ce3917e4fc8786fc96276b58781066c6069478d067c91cdb78fabb09e6bf05a6f55776f073f0811264b472a241b MISC metadata.xml 238 BLAKE2B 34ac0d15fbd529b95d6a8c5656482832843c35f4befaa7bb238eec7634acb09a074de43cbd4d4c0a57d3b2810901bc85c7d2780beee573cd72c37b6244d78dc8 SHA512 b8e525ce325eb8201273f8d0ea320d6ba41a183d7f80b0f44dcca44c48049baec1c3489ebd32a17d3be9d6a31a9427ce40cd1686f12e42ca99b0d7037af9532f diff --git a/net-wireless/rtl-sdr/files/rtl-sdr-0.5.3-static-inline.patch b/net-wireless/rtl-sdr/files/rtl-sdr-0.5.3-static-inline.patch deleted file mode 100644 index 0f0e829e3b06..000000000000 --- a/net-wireless/rtl-sdr/files/rtl-sdr-0.5.3-static-inline.patch +++ /dev/null @@ -1,66 +0,0 @@ -https://github.com/steve-m/librtlsdr/pull/38 - -From ea6a86d8e792430faa3a8161ee99f2bc392875d1 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <vapier@chromium.org> -Date: Fri, 3 Feb 2017 15:44:18 -1000 -Subject: [PATCH] fix builds with newer compilers & C standards - -The meaning of "inline" has changed when "static" is not used. -Since none of these functions are used outside of their respective -files, mark them as static to avoid build errors where funcs are -not inlined (based on compiler flags too). ---- - src/rtl_adsb.c | 8 ++++---- - src/rtl_power.c | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/rtl_adsb.c b/src/rtl_adsb.c -index e611e78f3dad..a3bfa7f36b5e 100644 ---- a/src/rtl_adsb.c -+++ b/src/rtl_adsb.c -@@ -182,7 +182,7 @@ int magnitute(uint8_t *buf, int len) - return len/2; - } - --inline uint16_t single_manchester(uint16_t a, uint16_t b, uint16_t c, uint16_t d) -+static inline uint16_t single_manchester(uint16_t a, uint16_t b, uint16_t c, uint16_t d) - /* takes 4 consecutive real samples, return 0 or 1, BADSAMPLE on error */ - { - int bit, bit_p; -@@ -223,17 +223,17 @@ inline uint16_t single_manchester(uint16_t a, uint16_t b, uint16_t c, uint16_t d - return BADSAMPLE; - } - --inline uint16_t min16(uint16_t a, uint16_t b) -+static inline uint16_t min16(uint16_t a, uint16_t b) - { - return a<b ? a : b; - } - --inline uint16_t max16(uint16_t a, uint16_t b) -+static inline uint16_t max16(uint16_t a, uint16_t b) - { - return a>b ? a : b; - } - --inline int preamble(uint16_t *buf, int i) -+static inline int preamble(uint16_t *buf, int i) - /* returns 0/1 for preamble at index i */ - { - int i2; -diff --git a/src/rtl_power.c b/src/rtl_power.c -index aa7a138a8cd3..a7a43bbd2507 100644 ---- a/src/rtl_power.c -+++ b/src/rtl_power.c -@@ -249,7 +249,7 @@ void sine_table(int size) - } - } - --inline int16_t FIX_MPY(int16_t a, int16_t b) -+static inline int16_t FIX_MPY(int16_t a, int16_t b) - /* fixed point multiply and scale */ - { - int c = ((int)a * (int)b) >> 14; --- -2.11.0 - diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.5.3_p20150730.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.5.3_p20150730.ebuild deleted file mode 100644 index 11c384d72641..000000000000 --- a/net-wireless/rtl-sdr/rtl-sdr-0.5.3_p20150730.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit cmake-utils multilib - -DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver" -HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr" - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" - KEYWORDS="" -else - SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -DEPEND="virtual/libusb:1" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-0.5.3-static-inline.patch -) - -src_unpack() { - if [[ ${PV} == 9999* ]]; then - git-r3_src_unpack - else - default - fi -} - -src_configure() { - #the udev rules are 666, we don't want that - mycmakeargs=( - -DINSTALL_UDEV_RULES=OFF - -DDETACH_KERNEL_DRIVER=ON - -DLIB_INSTALL_DIR=/usr/$(get_libdir) - ) - cmake-utils_src_configure -} - -pkg_postinst() { - elog "Only users in the usb group can capture." - elog "Just run 'gpasswd -a <USER> usb', then have <USER> re-login." -} |