package/arptables: update to 0.0.3-4
[openwrt.git] / package / wireless-tools / patches / 001-debian.patch
1 --- a/iwlib.c
2 +++ b/iwlib.c
3 @@ -667,6 +667,7 @@ iw_get_basic_config(int skfd,
4 {
5 struct iwreq wrq;
6
7 + memset((char *) &wrq, 0, sizeof(struct iwreq));
8 memset((char *) info, 0, sizeof(struct wireless_config));
9
10 /* Get wireless name */
11 --- a/Makefile
12 +++ b/Makefile
13 @@ -73,8 +73,8 @@ DYNAMIC_LINK= libiw.so
14 # Install directories
15 INSTALL_DIR= $(PREFIX)/sbin/
16 INSTALL_LIB= $(PREFIX)/lib/
17 -INSTALL_INC= $(PREFIX)/include/
18 -INSTALL_MAN= $(PREFIX)/man/
19 +INSTALL_INC= $(PREFIX)/usr/include/
20 +INSTALL_MAN= $(PREFIX)/usr/share/man/
21
22 # Various commands
23 RM = rm -f
24 @@ -102,9 +102,9 @@ ifdef BUILD_WE_ESSENTIAL
25 endif
26
27 # Other flags
28 -CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \
29 +#CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \
30 -Wpointer-arith -Wcast-qual -Winline -I.
31 -#CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
32 +CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
33 DEPFLAGS=-MMD
34 XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) $(WELIB_FLAG) $(WEDEF_FLAG)
35 PICFLAG=-fPIC
This page took 0.037582 seconds and 5 git commands to generate.