package/aircrack-ng: fix build with gcc 10
PATCH 1/1 package/aircrack-ng: fix build with gcc 10
Fixes:
- http://autobuild.buildroot.org/results/98ab591a88e06a985b0a7aac5abbf665289134b4
Signed-off-by Fabrice Fontaine <[email protected]>
--- .../0001-Expand-packed-definition.patch | 26 +++++++ .../0002-Fix-duplicated-symbols.patch | 74 +++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 package/aircrack-ng/0001-Expand-packed-definition.patch create mode 100644 package/aircrack-ng/0002-Fix-duplicated-symbols.patch
package/aircrack-ng/0001-Expand-packed-definition.patch new file +26 -0
@@ -0,0 +1,26 @@ +From d4496006ac1e0c99908108b998ae39afb0658733 Mon Sep 17 00:00:00 2001 +From: Joseph Benden <[email protected]> +Date: Tue, 7 Jul 2020 11:42:40 -0700 +Subject: [PATCH] Expand __packed definition. + +Signed-off-by: Joseph Benden <[email protected]> +[Retrieved from: +https://github.com/aircrack-ng/aircrack-ng/commit/d4496006ac1e0c99908108b998ae39afb0658733] +Signed-off-by: Fabrice Fontaine <[email protected]> +--- + lib/radiotap/radiotap.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/radiotap/radiotap.h b/lib/radiotap/radiotap.h +index 57f784b8d..bb5a41dfc 100644 +--- a/lib/radiotap/radiotap.h ++++ b/lib/radiotap/radiotap.h +@@ -56,7 +56,7 @@ struct ieee80211_radiotap_header { + * @it_present: (first) present word + */ + uint32_t it_present; +-} __packed; ++} __attribute__((__packed__)); + + /* version is always 0 */ + #define PKTHDR_RADIOTAP_VERSION 0
package/aircrack-ng/0002-Fix-duplicated-symbols.patch new file +74 -0
74 lines not on this page · raw message
Signature · 1 line
2.27.0
Thomas Petazzoni
AppliedPATCH 1/1 package/aircrack-ng: fix build with gcc 10
Quoted 10 lines · On Tue, 11 Aug 2020 10:42:07 +0200 Fabrice Fontaine via buildroot…
Fixes:
- http://autobuild.buildroot.org/results/98ab591a88e06a985b0a7aac5abbf665289134b4Signed-off-by Fabrice Fontaine <[email protected]>--- .../0001-Expand-packed-definition.patch | 26 +++++++ .../0002-Fix-duplicated-symbols.patch | 74 +++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 package/aircrack-ng/0001-Expand-packed-definition.patch create mode 100644 package/aircrack-ng/0002-Fix-duplicated-symbols.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com