--- /dev/null
+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
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"