package/aircrack-ng: fix musl build
PATCH 1/1 package/aircrack-ng: fix musl build
Backport an upstream patch [1] and remove sys/cdefs.h from ethernet.h as suggested by the musl wiki [2].
Fixes:
http://autobuild.buildroot.net/results/9721496871d104b4cfb68ce133b5f48612cb7e50/
[1] https://github.com/aircrack-ng/aircrack-ng/commit/42de9f800056601443ac12edbba7bd5802740db2
[2] http://wiki.musl-libc.org/wiki/FAQ
--- ...ide-ng-Use-termios-instead-of-sys-termios.patch | 27 +++++++++++ package/aircrack-ng/0004-fix-musl-build.patch | 53 ++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 package/aircrack-ng/0003-Wesside-ng-Use-termios-instead-of-sys-termios.patch create mode 100644 package/aircrack-ng/0004-fix-musl-build.patch
package/aircrack-ng/0003-Wesside-ng-Use-termios-instead-of-sys-termios.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 42de9f800056601443ac12edbba7bd5802740db2 Mon Sep 17 00:00:00 2001 +From: Thomas d'Otreppe <[email protected]> +Date: Wed, 8 Apr 2015 01:25:07 +0000 +Subject: [PATCH] Wesside-ng: Use termios instead of sys/termios. + +git-svn-id: http://svn.aircrack-ng.org/trunk at 2533 28c6078b-6c39-48e3-add9-af49d547ecab +Signed-off-by: Romain Naour <[email protected]> +--- + src/wesside-ng.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/wesside-ng.c b/src/wesside-ng.c +index 711d8b7..f44438a 100644 +--- a/src/wesside-ng.c ++++ b/src/wesside-ng.c +@@ -33,7 +33,7 @@ + + #include <sys/types.h> + #include <sys/socket.h> +-#include <sys/termios.h> ++#include <termios.h> + #include <sys/ioctl.h> + #include <sys/stat.h> + #include <sys/wait.h> +-- +2.4.3 +
package/aircrack-ng/0004-fix-musl-build.patch new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.4.3
Thomas Petazzoni
AppliedPATCH 1/1 package/aircrack-ng: fix musl build
Dear Romain Naour,
Quoted 9 lines · Romain Naour
Backport an upstream patch [1] and remove
sys/cdefs.hfromethernet.has suggested by the musl wiki [2].Fixes:
http://autobuild.buildroot.net/results/9721496871d104b4cfb68ce133b5f48612cb7e50/[1] https://github.com/aircrack-ng/aircrack-ng/commit/42de9f800056601443ac12edbba7bd5802740db2
[2] http://wiki.musl-libc.org/wiki/FAQ
Quoted 7 lines
Signed-off-by Romain Naour <[email protected]>--- ...ide-ng-Use-termios-instead-of-sys-termios.patch | 27 +++++++++++ package/aircrack-ng/0004-fix-musl-build.patch | 53 ++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 package/aircrack-ng/0003-Wesside-ng-Use-termios-instead-of-sys-termios.patch create mode 100644 package/aircrack-ng/0004-fix-musl-build.patch
Applied, thanks! Please don't forget to submit patch 0004 upstream.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 package/aircrack-ng: fix musl build
Hi Thomas,
Le 29/07/2015 22:19, Thomas Petazzoni a ?crit :
Quoted 20 lines
Dear Romain Naour,
Quoted 9 lines · Romain Naour
Backport an upstream patch [1] and remove
sys/cdefs.hfromethernet.has suggested by the musl wiki [2].Fixes:
http://autobuild.buildroot.net/results/9721496871d104b4cfb68ce133b5f48612cb7e50/[1] https://github.com/aircrack-ng/aircrack-ng/commit/42de9f800056601443ac12edbba7bd5802740db2
[2] http://wiki.musl-libc.org/wiki/FAQQuoted 7 lines
Signed-off-by Romain Naour <[email protected]>--- ...ide-ng-Use-termios-instead-of-sys-termios.patch | 27 +++++++++++ package/aircrack-ng/0004-fix-musl-build.patch | 53 ++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 package/aircrack-ng/0003-Wesside-ng-Use-termios-instead-of-sys-termios.patch create mode 100644 package/aircrack-ng/0004-fix-musl-build.patch
Quoted 1 line
Applied, thanks! Please don't forget to submit patch 0004 upstream.
Done, I created a ticket:
http://trac.aircrack-ng.org/ticket/1605
Best regards,
Romain
Quoted 3 lines
Thomas