Accepting request 1220354 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1220354 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bladeRF?expand=0&rev=19
This commit is contained in:
commit
7efda79cb4
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 2 19:56:06 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Add patch:
|
||||||
|
* gcc14-fix-calloc-arg-order.patch
|
||||||
|
https://github.com/Nuand/bladeRF/commit/b55af91f6b0ccb9afd09dcd3a42b9110c7e5be6f
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 8 15:39:13 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
Mon Apr 8 15:39:13 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ URL: https://nuand.com/
|
|||||||
Source0: https://github.com/Nuand/bladeRF/archive/%{release_name}.tar.gz#/%{name}-%{release_name}.tar.xz
|
Source0: https://github.com/Nuand/bladeRF/archive/%{release_name}.tar.gz#/%{name}-%{release_name}.tar.xz
|
||||||
Source1: ad9361.tar.xz
|
Source1: ad9361.tar.xz
|
||||||
Patch0: bladeRF-doxygen-no-timestamp.patch
|
Patch0: bladeRF-doxygen-no-timestamp.patch
|
||||||
|
Patch1: gcc14-fix-calloc-arg-order.patch
|
||||||
BuildRequires: cmake >= 2.8.4
|
BuildRequires: cmake >= 2.8.4
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
26
gcc14-fix-calloc-arg-order.patch
Normal file
26
gcc14-fix-calloc-arg-order.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Source: https://github.com/Nuand/bladeRF/commit/b55af91f6b0ccb9afd09dcd3a42b9110c7e5be6f
|
||||||
|
|
||||||
|
--- bladeRF-2023.02-origin/host/utilities/bladeRF-fsk/c/src/fir_filter.c
|
||||||
|
+++ bladeRF-2023.02/host/utilities/bladeRF-fsk/c/src/fir_filter.c
|
||||||
|
@@ -213,18 +213,18 @@
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
|
- inbuf = calloc(2*sizeof(int16_t), chunk_size);
|
||||||
|
+ inbuf = calloc(chunk_size, 2*sizeof(int16_t));
|
||||||
|
if (!inbuf) {
|
||||||
|
perror("calloc");
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
- tempbuf = calloc(2*sizeof(int16_t), chunk_size);
|
||||||
|
+ tempbuf = calloc(chunk_size, 2*sizeof(int16_t));
|
||||||
|
if (!tempbuf) {
|
||||||
|
perror("calloc");
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
|
- outbuf = calloc(sizeof(struct complex_sample), chunk_size);
|
||||||
|
+ outbuf = calloc(chunk_size, sizeof(struct complex_sample));
|
||||||
|
if (!outbuf) {
|
||||||
|
perror("calloc");
|
||||||
|
goto out;
|
Loading…
Reference in New Issue
Block a user