summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2012-12-21 23:25:06 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2012-12-21 23:25:06 +0000
commitfd95aed1c7fc776c708fd51b08a632a653f0501a (patch)
tree76d84d1b608b314b20514a8b405cbd64519a308d /net-wireless/wepdecrypt/files
parentAdd swig dependency, per bug#415301, thanks to Kristian (diff)
downloadhistorical-fd95aed1c7fc776c708fd51b08a632a653f0501a.tar.gz
historical-fd95aed1c7fc776c708fd51b08a632a653f0501a.tar.bz2
historical-fd95aed1c7fc776c708fd51b08a632a653f0501a.zip
Allow dynamic build of gwepdecrypt, per bug#402823, thanks to Adrian Bassett
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64
Diffstat (limited to 'net-wireless/wepdecrypt/files')
-rw-r--r--net-wireless/wepdecrypt/files/wepdecrypt-0.8-dyn.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-wireless/wepdecrypt/files/wepdecrypt-0.8-dyn.patch b/net-wireless/wepdecrypt/files/wepdecrypt-0.8-dyn.patch
new file mode 100644
index 000000000000..ab3181340759
--- /dev/null
+++ b/net-wireless/wepdecrypt/files/wepdecrypt-0.8-dyn.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Makefile b/src/Makefile
+index a779cb7..f32e65e 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -8,7 +8,7 @@ wepdecrypt: wepdecrypt.o rc4.o wepfilter.o log.o modes.o misc.o verify.o keygen
+ modes.o misc.o md5_digest.o wepserver.o wepclient.o verify.o keygen.o localkeygen.o $(LIBS)
+
+ gwepdecrypt: gwepdecrypt.cpp
+- $(FLTK) --compile gwepdecrypt.cpp
++ $(CC) $(LDFLAGS) $(CFLAGS) -I. -o $@ gwepdecrypt.cpp $(shell fltk-config --cflags --ldflags) $(LIBS)
+
+ wkeygen: wkeygen.c
+ $(LD) $(LDFLAGS) $(CFLAGS) -o $@ wkeygen.c $(LIBS)