forked from pool/bladeRF
f439025c39
- Add patches to fix gcc10 compile errors: * 0001-libbladeRF-unambiguous-flash_arch-macro-name.patch * 0002-libbladeRF-define-bladerf2_state_to_string-as-extern.patch OBS-URL: https://build.opensuse.org/request/show/812349 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=29
27 lines
980 B
Diff
27 lines
980 B
Diff
From 5cf9fd299a396a5ae5b4402215713fd2a84e607b Mon Sep 17 00:00:00 2001
|
|
From: Robert Ghilduta <robert.ghilduta@nuand.com>
|
|
Date: Mon, 25 May 2020 21:36:50 -0500
|
|
Subject: [PATCH 2/2] libbladeRF: define bladerf2_state_to_string as extern in
|
|
header
|
|
|
|
---
|
|
host/libraries/libbladeRF/src/board/bladerf2/common.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/host/libraries/libbladeRF/src/board/bladerf2/common.h b/host/libraries/libbladeRF/src/board/bladerf2/common.h
|
|
index 23187ba6..efbebc86 100644
|
|
--- a/host/libraries/libbladeRF/src/board/bladerf2/common.h
|
|
+++ b/host/libraries/libbladeRF/src/board/bladerf2/common.h
|
|
@@ -207,7 +207,7 @@ extern const float ina219_r_shunt;
|
|
/* Constants */
|
|
/******************************************************************************/
|
|
|
|
-char const *bladerf2_state_to_string[4];
|
|
+extern char const *bladerf2_state_to_string[4];
|
|
|
|
|
|
/******************************************************************************/
|
|
--
|
|
2.26.2
|
|
|