mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
rx_tools: rebuild for SoapySDR-0.8.1
This commit is contained in:
parent
2d51c5b5ab
commit
c2c05d5518
2 changed files with 16 additions and 1 deletions
15
srcpkgs/rx_tools/patches/soapysdr_0.8.patch
Normal file
15
srcpkgs/rx_tools/patches/soapysdr_0.8.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
API change in SoapySDR-0.8.1. Upstream currently has 3 years of unreleased changes,
|
||||||
|
including a similar fix, but it was too convoluted to easily import directly.
|
||||||
|
|
||||||
|
--- a/src/convenience/convenience.c
|
||||||
|
+++ b/src/convenience/convenience.c
|
||||||
|
@@ -488,7 +488,8 @@
|
||||||
|
|
||||||
|
show_device_info(dev);
|
||||||
|
|
||||||
|
- if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
|
||||||
|
+ *streamOut = SoapySDRDevice_setupStream(dev, SOAPY_SDR_RX, format, NULL, 0, &stream_args);
|
||||||
|
+ if (*streamOut == NULL) {
|
||||||
|
fprintf(stderr, "SoapySDRDevice_setupStream failed\n");
|
||||||
|
return -3;
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rx_tools'
|
# Template file for 'rx_tools'
|
||||||
pkgname=rx_tools
|
pkgname=rx_tools
|
||||||
version=1.0.3
|
version=1.0.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
makedepends="SoapySDR-devel"
|
makedepends="SoapySDR-devel"
|
||||||
short_desc="Tools for receiving data from SDRs"
|
short_desc="Tools for receiving data from SDRs"
|
||||||
|
|
Loading…
Add table
Reference in a new issue