mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/gr-osmosdr: bump to version 0.2.2
Drop patch now applied. Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
5bd8c591e3
commit
ee6055dae3
@@ -1,86 +0,0 @@
|
|||||||
From 9d5a21f2900e3ffb07c1f163b6ba4e036f6c16a8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
|
|
||||||
Date: Thu, 25 Jun 2020 16:46:34 +0200
|
|
||||||
Subject: [PATCH] gr-osmosdr: fix build with boost > 1.73.0
|
|
||||||
|
|
||||||
boost/detail/endian.hpp has been marked as deprecated since boost 1.69.0.
|
|
||||||
This file and boost/predef/detail/endian_compat.h are no more available.
|
|
||||||
|
|
||||||
This patch suppress this header in some file, where not needed and move
|
|
||||||
to correct header and new constants. It's retrocompatible for at least all boost release > 1.69.0
|
|
||||||
|
|
||||||
[Upstream status: http://lists.osmocom.org/pipermail/osmocom-sdr/2020-June/002080.html]
|
|
||||||
|
|
||||||
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
|
|
||||||
---
|
|
||||||
lib/airspy/airspy_source_c.cc | 1 -
|
|
||||||
lib/airspyhf/airspyhf_source_c.cc | 1 -
|
|
||||||
lib/hackrf/hackrf_source_c.cc | 6 +++---
|
|
||||||
lib/rtl/rtl_source_c.cc | 1 -
|
|
||||||
4 files changed, 3 insertions(+), 6 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/lib/airspy/airspy_source_c.cc b/lib/airspy/airspy_source_c.cc
|
|
||||||
index 50150e5..f833588 100644
|
|
||||||
--- a/lib/airspy/airspy_source_c.cc
|
|
||||||
+++ b/lib/airspy/airspy_source_c.cc
|
|
||||||
@@ -33,7 +33,6 @@
|
|
||||||
|
|
||||||
#include <boost/assign.hpp>
|
|
||||||
#include <boost/format.hpp>
|
|
||||||
-#include <boost/detail/endian.hpp>
|
|
||||||
#include <boost/algorithm/string.hpp>
|
|
||||||
#include <boost/thread/thread.hpp>
|
|
||||||
|
|
||||||
diff --git a/lib/airspyhf/airspyhf_source_c.cc b/lib/airspyhf/airspyhf_source_c.cc
|
|
||||||
index 327fe19..b7494a8 100644
|
|
||||||
--- a/lib/airspyhf/airspyhf_source_c.cc
|
|
||||||
+++ b/lib/airspyhf/airspyhf_source_c.cc
|
|
||||||
@@ -33,7 +33,6 @@
|
|
||||||
|
|
||||||
#include <boost/assign.hpp>
|
|
||||||
#include <boost/format.hpp>
|
|
||||||
-#include <boost/detail/endian.hpp>
|
|
||||||
#include <boost/algorithm/string.hpp>
|
|
||||||
#include <boost/thread/thread.hpp>
|
|
||||||
|
|
||||||
diff --git a/lib/hackrf/hackrf_source_c.cc b/lib/hackrf/hackrf_source_c.cc
|
|
||||||
index eea5caa..fc48171 100644
|
|
||||||
--- a/lib/hackrf/hackrf_source_c.cc
|
|
||||||
+++ b/lib/hackrf/hackrf_source_c.cc
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
#include <stdexcept>
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
-#include <boost/detail/endian.hpp>
|
|
||||||
+#include <boost/predef/other/endian.h>
|
|
||||||
|
|
||||||
#include <gnuradio/io_signature.h>
|
|
||||||
|
|
||||||
@@ -90,10 +90,10 @@ hackrf_source_c::hackrf_source_c (const std::string &args)
|
|
||||||
|
|
||||||
// create a lookup table for gr_complex values
|
|
||||||
for (unsigned int i = 0; i <= 0xffff; i++) {
|
|
||||||
-#ifdef BOOST_LITTLE_ENDIAN
|
|
||||||
+#ifdef BOOST_ENDIAN_LITTLE_BYTE
|
|
||||||
_lut.push_back( gr_complex( (float(int8_t(i & 0xff))) * (1.0f/128.0f),
|
|
||||||
(float(int8_t(i >> 8))) * (1.0f/128.0f) ) );
|
|
||||||
-#else // BOOST_BIG_ENDIAN
|
|
||||||
+#else // BOOST_ENDIAN_BIG_BYTE
|
|
||||||
_lut.push_back( gr_complex( (float(int8_t(i >> 8))) * (1.0f/128.0f),
|
|
||||||
(float(int8_t(i & 0xff))) * (1.0f/128.0f) ) );
|
|
||||||
#endif
|
|
||||||
diff --git a/lib/rtl/rtl_source_c.cc b/lib/rtl/rtl_source_c.cc
|
|
||||||
index a371464..7f2e648 100644
|
|
||||||
--- a/lib/rtl/rtl_source_c.cc
|
|
||||||
+++ b/lib/rtl/rtl_source_c.cc
|
|
||||||
@@ -32,7 +32,6 @@
|
|
||||||
|
|
||||||
#include <boost/assign.hpp>
|
|
||||||
#include <boost/format.hpp>
|
|
||||||
-#include <boost/detail/endian.hpp>
|
|
||||||
#include <boost/algorithm/string.hpp>
|
|
||||||
|
|
||||||
#include <stdexcept>
|
|
||||||
--
|
|
||||||
2.27.0
|
|
||||||
|
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
# Locally calculated:
|
# Locally calculated:
|
||||||
sha256 9812429d97bc54f0a8917b880ca9e7e2421c66aeaac8ce5608161a8ae7007122 gr-osmosdr-0.2.0.tar.gz
|
sha256 5a7ce7afee38a56191b5d16cb4a91c92476729ff16ed09cbba5a3851ac619713 gr-osmosdr-0.2.2.tar.gz
|
||||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GR_OSMOSDR_VERSION = 0.2.0
|
GR_OSMOSDR_VERSION = 0.2.2
|
||||||
GR_OSMOSDR_SITE = $(call github,osmocom,gr-osmosdr,v$(GR_OSMOSDR_VERSION))
|
GR_OSMOSDR_SITE = $(call github,osmocom,gr-osmosdr,v$(GR_OSMOSDR_VERSION))
|
||||||
GR_OSMOSDR_LICENSE = GPL-3.0+
|
GR_OSMOSDR_LICENSE = GPL-3.0+
|
||||||
GR_OSMOSDR_LICENSE_FILES = COPYING
|
GR_OSMOSDR_LICENSE_FILES = COPYING
|
||||||
|
|||||||
Reference in New Issue
Block a user