diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
commit | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch) | |
tree | 8ac67e26b45f34d71c5aab3621813b100a0d5f00 /net-wireless/ubertooth/files | |
parent | f516638b7fe9592837389826a6152a7e1b251c54 (diff) |
gentoo resync : 13.06.2020
Diffstat (limited to 'net-wireless/ubertooth/files')
-rw-r--r-- | net-wireless/ubertooth/files/ubertooth-2018.12.1-gcc-10.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-wireless/ubertooth/files/ubertooth-2018.12.1-gcc-10.patch b/net-wireless/ubertooth/files/ubertooth-2018.12.1-gcc-10.patch new file mode 100644 index 000000000000..b4f25e6b0b8c --- /dev/null +++ b/net-wireless/ubertooth/files/ubertooth-2018.12.1-gcc-10.patch @@ -0,0 +1,23 @@ +From abc1d87631c71fb5bf3be4b81327c66292d852ca Mon Sep 17 00:00:00 2001 +From: Jonas Stein <news@jonasstein.de> +Date: Sat, 6 Jun 2020 21:11:38 +0200 +Subject: [PATCH] extern packet_counter_max to compile with gcc-10 + +Fixes: https://github.com/greatscottgadgets/ubertooth/issues/408 +--- + host/libubertooth/src/ubertooth_callback.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libubertooth/src/ubertooth_callback.c b/libubertooth/src/ubertooth_callback.c +index a36e3512..adb9934f 100644 +--- a/libubertooth/src/ubertooth_callback.c ++++ b/libubertooth/src/ubertooth_callback.c +@@ -27,7 +27,7 @@ + + #include "ubertooth_callback.h" + +-unsigned int packet_counter_max; ++extern unsigned int packet_counter_max; + + static int8_t cc2400_rssi_to_dbm( const int8_t rssi ) + { |