summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-06-03 14:42:41 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-06 10:11:00 +0200
commit7b4faeec4a39a52cc65298d67ec8a3bf1cacce7c (patch)
treecb9cec12d4c40d5e40e211d9436475db0b37d5eb /net-wireless/rtl-sdr/files
parentnet-wireless/inspectrum: Drop old (diff)
downloadgentoo-7b4faeec4a39a52cc65298d67ec8a3bf1cacce7c.tar.gz
gentoo-7b4faeec4a39a52cc65298d67ec8a3bf1cacce7c.tar.bz2
gentoo-7b4faeec4a39a52cc65298d67ec8a3bf1cacce7c.zip
net-wireless/rtl-sdr: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-wireless/rtl-sdr/files')
-rw-r--r--net-wireless/rtl-sdr/files/rtl-sdr-0.5.3-static-inline.patch66
1 files changed, 0 insertions, 66 deletions
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
-