summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2019-02-03 10:48:17 +0000
committertnn <tnn@pkgsrc.org>2019-02-03 10:48:17 +0000
commit7c432790de858e1842e941d2e223ffd2fcbf3495 (patch)
treebb0467349aa099eb72830a593b45db723097734d /ham
parentd3557fd7370f1dac797e621d65271d7e1985f8d9 (diff)
downloadpkgsrc-7c432790de858e1842e941d2e223ffd2fcbf3495.tar.gz
rtl-sdr: revert previous & delete wrong SUBST fragment from Makefile
Diffstat (limited to 'ham')
-rw-r--r--ham/rtl-sdr/Makefile8
-rw-r--r--ham/rtl-sdr/distinfo4
-rw-r--r--ham/rtl-sdr/patches/patch-src_rtl__adsb.c36
-rw-r--r--ham/rtl-sdr/patches/patch-src_rtl__power.c15
4 files changed, 2 insertions, 61 deletions
diff --git a/ham/rtl-sdr/Makefile b/ham/rtl-sdr/Makefile
index 740f269b3d9..7cd48949c9a 100644
--- a/ham/rtl-sdr/Makefile
+++ b/ham/rtl-sdr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2019/02/02 14:35:15 tnn Exp $
+# $NetBSD: Makefile,v 1.14 2019/02/03 10:48:17 tnn Exp $
DISTNAME= rtl-sdr-0.6.0
CATEGORIES= ham
@@ -19,12 +19,6 @@ CONFIGURE_DIRS=build
BUILD_DIRS=${CONFIGURE_DIRS}
CMAKE_ARG_PATH=..
-SUBST_CLASSES+= fix-inline
-SUBST_STAGE.fix-inline= pre-configure
-SUBST_MESSAGE.fix-inline= Fixing inline calls
-SUBST_FILES.fix-inline= src/rtl_adsb.c src/rtl_power.c
-SUBST_SED.fix-inline= -e 's,inline,static inline,g'
-
PKGCONFIG_OVERRIDE+= librtlsdr.pc.in
LDFLAGS.SunOS+= -lsocket -lnsl
diff --git a/ham/rtl-sdr/distinfo b/ham/rtl-sdr/distinfo
index f8922200ca3..4bd18524963 100644
--- a/ham/rtl-sdr/distinfo
+++ b/ham/rtl-sdr/distinfo
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.10 2019/02/03 10:42:19 tnn Exp $
+$NetBSD: distinfo,v 1.11 2019/02/03 10:48:17 tnn Exp $
SHA1 (rtl-sdr-0.6.0.tar.gz) = 91a4499110ab27fe4e15e9425ab95145342cdd82
RMD160 (rtl-sdr-0.6.0.tar.gz) = f02dfa2079f924967e2ee22b2e424e7d4a0ec521
SHA512 (rtl-sdr-0.6.0.tar.gz) = a08356a08672f03d86adb662e28923e7998b78c0f49432dc1b1e3844976158c467242e0c5eabf206fd257bdebcf91cd2767dabf13d2ef475f2f3e1d82e23ed75
Size (rtl-sdr-0.6.0.tar.gz) = 134289 bytes
SHA1 (patch-cmake_Modules_FindLibUSB.cmake) = 95df1dd9ff3b9d5cf7afc55cc5f80cabe1d90491
-SHA1 (patch-src_rtl__adsb.c) = 412c948ad89f0af97dddbccdd5c288cf51afcee5
SHA1 (patch-src_rtl__fm_c) = 04ec7142f38f26d2ed431765017f53e8e79a3a36
-SHA1 (patch-src_rtl__power.c) = 3d1244b58b75ab56fcbdf619adbc52b1cbd769e6
diff --git a/ham/rtl-sdr/patches/patch-src_rtl__adsb.c b/ham/rtl-sdr/patches/patch-src_rtl__adsb.c
deleted file mode 100644
index e1add2e0b57..00000000000
--- a/ham/rtl-sdr/patches/patch-src_rtl__adsb.c
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-src_rtl__adsb.c,v 1.3 2019/02/03 10:42:19 tnn Exp $
-
-GCC does not like duplicate static keyword
-
---- src/rtl_adsb.c.orig 2019-02-03 09:38:28.472977070 +0000
-+++ src/rtl_adsb.c
-@@ -183,7 +183,7 @@ int magnitute(uint8_t *buf, int len)
- return len/2;
- }
-
--static static 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;
-@@ -224,17 +224,17 @@ static static inline uint16_t single_man
- return BADSAMPLE;
- }
-
--static static 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;
- }
-
--static static 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;
- }
-
--static static 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/ham/rtl-sdr/patches/patch-src_rtl__power.c b/ham/rtl-sdr/patches/patch-src_rtl__power.c
deleted file mode 100644
index 21bb2aa9ee4..00000000000
--- a/ham/rtl-sdr/patches/patch-src_rtl__power.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_rtl__power.c,v 1.3 2019/02/03 10:42:19 tnn Exp $
-
-GCC does not like duplicate static keyword
-
---- src/rtl_power.c.orig 2019-02-03 09:38:28.488240147 +0000
-+++ src/rtl_power.c
-@@ -250,7 +250,7 @@ void sine_table(int size)
- }
- }
-
--static static 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;