aircrack-ng-0.9.3: use LDFLAGS (fixes QA error)
authorJeremy Lainé <jeremy.laine@m4x.org>
Thu, 9 Apr 2009 05:56:26 +0000 (07:56 +0200)
committerJeremy Lainé <jeremy.laine@m4x.org>
Thu, 9 Apr 2009 05:56:26 +0000 (07:56 +0200)
recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch [new file with mode: 0644]
recipes/aircrack/aircrack-ng_0.9.3.bb

diff --git a/recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch b/recipes/aircrack/aircrack-ng-0.9.3/makefile-ldflags.patch
new file mode 100644 (file)
index 0000000..c064d80
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN aircrack-ng-0.9.3.orig/Makefile aircrack-ng-0.9.3/Makefile
+--- aircrack-ng-0.9.3.orig/Makefile    2008-02-24 20:22:35.000000000 +0100
++++ aircrack-ng-0.9.3/Makefile 2009-04-09 07:53:12.000000000 +0200
+@@ -3,7 +3,7 @@
+ CC              = gcc
+ CFLAGS          ?= -g -W -Wall -O3
+-OPTFLAGS        = -D_FILE_OFFSET_BITS=64
++OPTFLAGS        = -D_FILE_OFFSET_BITS=64 $(LDFLAGS)
+ iCC             = /opt/intel/cc/9.0/bin/icc
+ iCFLAGS         = -w -mcpu=pentiumpro -march=pentiumpro
index 1452a64..ae91314 100644 (file)
@@ -2,9 +2,10 @@ DESCRIPTION = "Aircrack-ng is a set of tools for wep key statistical cracking"
 HOMEPAGE = "http://www.aircrack-ng.org/"
 SECTION = "console/network"
 LICENSE = "GPLv2"
-PR = "r0"
+PR = "r1"
 
-SRC_URI = "http://download.aircrack-ng.org/aircrack-ng-${PV}.tar.gz"
+SRC_URI = "http://download.aircrack-ng.org/aircrack-ng-${PV}.tar.gz \
+           file://makefile-ldflags.patch;patch=1"
 
 SBINFILES = "airodump-ng aireplay-ng airmon-ng airtun-ng"
 BINFILES = "aircrack-ng airdecap-ng packetforge-ng ivstools kstats makeivs"