add function names to quilt-generated patch files to make patches more readable
[openwrt.git] / package / wireless-tools / patches / 001-debian.patch
1 Index: wireless_tools.29/iwlib.c
2 ===================================================================
3 --- wireless_tools.29.orig/iwlib.c 2007-06-04 13:22:18.700012448 +0200
4 +++ wireless_tools.29/iwlib.c 2007-06-04 13:22:18.773001352 +0200
5 @@ -667,6 +667,7 @@
6 {
7 struct iwreq wrq;
8
9 + memset((char *) &wrq, 0, sizeof(struct iwreq));
10 memset((char *) info, 0, sizeof(struct wireless_config));
11
12 /* Get wireless name */
13 Index: wireless_tools.29/Makefile
14 ===================================================================
15 --- wireless_tools.29.orig/Makefile 2007-06-04 13:22:18.707011384 +0200
16 +++ wireless_tools.29/Makefile 2007-06-04 13:22:18.774001200 +0200
17 @@ -73,8 +73,8 @@
18 # Install directories
19 INSTALL_DIR= $(PREFIX)/sbin/
20 INSTALL_LIB= $(PREFIX)/lib/
21 -INSTALL_INC= $(PREFIX)/include/
22 -INSTALL_MAN= $(PREFIX)/man/
23 +INSTALL_INC= $(PREFIX)/usr/include/
24 +INSTALL_MAN= $(PREFIX)/usr/share/man/
25
26 # Various commands
27 RM = rm -f
28 @@ -102,9 +102,9 @@
29 endif
30
31 # Other flags
32 -CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \
33 +#CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \
34 -Wpointer-arith -Wcast-qual -Winline -I.
35 -#CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
36 +CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
37 DEPFLAGS=-MMD
38 XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) $(WELIB_FLAG) $(WEDEF_FLAG)
39 PICFLAG=-fPIC
This page took 0.053346 seconds and 5 git commands to generate.