diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-01-11 17:28:16 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-01-11 17:28:16 +0000 |
commit | 4b7c21055560866298bc9116c8dd2ebda9108a85 (patch) | |
tree | 08ed740fb1fe1b9f65b893564b67ac29c42afc7d /package/wireless-tools/patches/01-debian.patch | |
parent | c3e1e227433374d95767be38b6b4dbfe8c828979 (diff) | |
download | mtk-20170518-4b7c21055560866298bc9116c8dd2ebda9108a85.zip mtk-20170518-4b7c21055560866298bc9116c8dd2ebda9108a85.tar.gz mtk-20170518-4b7c21055560866298bc9116c8dd2ebda9108a85.tar.bz2 |
Rename patches to match conventions
SVN-Revision: 6080
Diffstat (limited to 'package/wireless-tools/patches/01-debian.patch')
-rw-r--r-- | package/wireless-tools/patches/01-debian.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/wireless-tools/patches/01-debian.patch b/package/wireless-tools/patches/01-debian.patch new file mode 100644 index 0000000..ba8755b --- /dev/null +++ b/package/wireless-tools/patches/01-debian.patch @@ -0,0 +1,35 @@ +--- wireless-tools-27.orig/iwlib.c ++++ wireless-tools-27/iwlib.c +@@ -622,6 +622,7 @@ + { + struct iwreq wrq; + ++ memset((char *) &wrq, 0, sizeof(struct iwreq)); + memset((char *) info, 0, sizeof(struct wireless_config)); + + /* Get wireless name */ +--- wireless-tools-27.orig/Makefile ++++ wireless-tools-27/Makefile +@@ -64,8 +64,8 @@ + # Install directories + INSTALL_DIR= $(PREFIX)/sbin/ + INSTALL_LIB= $(PREFIX)/lib/ +-INSTALL_INC= $(PREFIX)/include/ +-INSTALL_MAN= $(PREFIX)/man/ ++INSTALL_INC= $(PREFIX)/usr/include/ ++INSTALL_MAN= $(PREFIX)/usr/share/man/ + + # Various commands + RM = rm -f +@@ -81,9 +81,9 @@ + endif + + # Other flags +-CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \ ++#CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \ + -Wpointer-arith -Wcast-qual -Winline -I. +-#CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I. ++CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I. + DEPFLAGS=-MMD + XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) $(WELIB_FLAG) + PICFLAG=-fPIC |