X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fhostapd%2Fpatches%2F001-cross_compile_fix.patch;h=669264cb64567b393a9699ef106856f51acaad3b;hb=a702c26fde6ee7159afa6804204ac1f4a81be468;hp=d4323a7d96137ce8f27e508082a4a61866e384cf;hpb=088dee0df758e77f936db4aa822e97878f6a79fd;p=openwrt-10.03%2F.git diff --git a/package/hostapd/patches/001-cross_compile_fix.patch b/package/hostapd/patches/001-cross_compile_fix.patch index d4323a7d9..669264cb6 100644 --- a/package/hostapd/patches/001-cross_compile_fix.patch +++ b/package/hostapd/patches/001-cross_compile_fix.patch @@ -1,8 +1,10 @@ -diff -ruN hostapd-0.3.9-old/Makefile hostapd-0.3.9-new/Makefile ---- hostapd-0.3.9-old/Makefile 2005-06-11 05:03:36.000000000 +0200 -+++ hostapd-0.3.9-new/Makefile 2005-08-14 08:09:52.000000000 +0200 -@@ -3,7 +3,7 @@ - DIR_HOSTAP=. +Common subdirectories: hostapd-0.5.2/logwatch and hostapd-0.5.2.new/logwatch +Index: hostapd-0.5.7/Makefile +=================================================================== +--- hostapd-0.5.7.orig/Makefile 2007-06-04 13:22:31.790022464 +0200 ++++ hostapd-0.5.7/Makefile 2007-06-04 13:22:31.856012432 +0200 +@@ -2,7 +2,7 @@ + DIR_WPA_SUPPLICANT=. ifndef CFLAGS -CFLAGS = -MMD -O2 -Wall -g @@ -10,7 +12,7 @@ diff -ruN hostapd-0.3.9-old/Makefile hostapd-0.3.9-new/Makefile endif # define HOSTAPD_DUMP_STATE to include SIGUSR1 handler for dumping state to -@@ -173,7 +173,7 @@ +@@ -336,7 +336,7 @@ for i in $(ALL); do cp $$i /usr/local/bin/$$i; done hostapd: $(OBJS) @@ -19,14 +21,16 @@ diff -ruN hostapd-0.3.9-old/Makefile hostapd-0.3.9-new/Makefile driver_conf.c: Makefile .config rm -f driver_conf.c -diff -ruN hostapd-0.3.9-old/driver_madwifi.c hostapd-0.3.9-new/driver_madwifi.c ---- hostapd-0.3.9-old/driver_madwifi.c 2005-05-18 05:38:57.000000000 +0200 -+++ hostapd-0.3.9-new/driver_madwifi.c 2005-08-14 08:23:21.000000000 +0200 -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - #include +@@ -400,10 +400,10 @@ + endif + + nt_password_hash: $(NOBJS) +- $(CC) -o nt_password_hash $(NOBJS) $(LIBS_n) ++ $(CC) -o nt_password_hash $(NOBJS) $(LDFLAGS) $(LIBS_n) + + hlr_auc_gw: $(HOBJS) +- $(CC) -o hlr_auc_gw $(HOBJS) $(LIBS_h) ++ $(CC) -o hlr_auc_gw $(HOBJS) $(LDFLAGS) $(LIBS_h) - #include + clean: + rm -f core *~ *.o hostapd hostapd_cli nt_password_hash hlr_auc_gw