patching file www/asus/mkweb
[ ! -d /usr/src/WL-HDD/broadcom/src/router/rt2460 ] || [ -d /usr/src/WL-HDD/broadcom/src/gateway/rt2460 ] || \
tar -C /usr/src/WL-HDD/broadcom/src/router -cf - rt2460 | tar -C /usr/src/WL-HDD/broadcom/src/gateway -xf -
[ ! -f rt2460.diff ] || patch -d /usr/src/WL-HDD/broadcom/src/gateway -p1 --no-backup-if-mismatch < rt2460.diff
[ ! -d /usr/src/WL-HDD/broadcom/src/router/et.SENTRY5 ] || [ -d /usr/src/WL-HDD/broadcom/src/gateway/et.SENTRY5 ] || \
tar -C /usr/src/WL-HDD/broadcom/src/router -cf - et.SENTRY5 | tar -C /usr/src/WL-HDD/broadcom/src/gateway -xf -
[ ! -f et.SENTRY5.diff ] || patch -d /usr/src/WL-HDD/broadcom/src/gateway -p1 --no-backup-if-mismatch < et.SENTRY5.diff
[ ! -d /usr/src/WL-HDD/broadcom/src/router/libcrypto ] || [ -d /usr/src/WL-HDD/broadcom/src/gateway/libcrypto ] || \
tar -C /usr/src/WL-HDD/broadcom/src/router -cf - libcrypto | tar -C /usr/src/WL-HDD/broadcom/src/gateway -xf -
[ ! -f libcrypto.diff ] || patch -d /usr/src/WL-HDD/broadcom/src/gateway -p1 --no-backup-if-mismatch < libcrypto.diff
patching file libcrypto/Makefile
[ -f /usr/src/WL-HDD/broadcom/src/gateway/Makefile ] || cp /usr/src/WL-HDD/broadcom/src/router/Makefile /usr/src/WL-HDD/broadcom/src/gateway && patch -d /usr/src/WL-HDD/broadcom/src/gateway -p1 < Makefile.diff
patching file Makefile
[ -f /usr/src/WL-HDD/broadcom/src/gateway/Makefiles5.mk ] || cp /usr/src/WL-HDD/broadcom/src/router/Makefiles5.* /usr/src/WL-HDD/broadcom/src/gateway && patch -d /usr/src/WL-HDD/broadcom/src/gateway -p1 < Makefiles5.diff
patching file Makefiles5.mk
make -C /usr/src/WL-HDD/broadcom/src/gateway .config
make[1]: Entering directory `/usr/src/WL-HDD/broadcom/src/gateway'
Makefile:15: .config: No such file or directory
cp config/defconfig .config
make oldconfig
make[2]: Entering directory `/usr/src/WL-HDD/broadcom/src/gateway'
make -C config
make[3]: Entering directory `/usr/src/WL-HDD/broadcom/src/gateway/config'
cp zconf.tab.h_shipped zconf.tab.h
gcc -I. -c conf.c -o conf.o
cp zconf.tab.c_shipped zconf.tab.c
cp lex.zconf.c_shipped lex.zconf.c
gcc -I. -c zconf.tab.c -o zconf.tab.o
gcc conf.o zconf.tab.o -o conf
gcc -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -I. -c mconf.c -o mconf.o
mconf.c:93: error: static declaration of ‘current_menu’ follows non-static declaration
lkc.h:59: error: previous declaration of ‘current_menu’ was here
mconf.c: In function ‘conf_string’:
mconf.c:537: warning: pointer targets in passing argument 2 of ‘sym_set_string_value’ differ in signedness
mconf.c: In function ‘conf_load’:
mconf.c:558: warning: pointer targets in passing argument 1 of ‘conf_read’ differ in signedness
mconf.c: In function ‘conf_save’:
mconf.c:579: warning: pointer targets in passing argument 1 of ‘conf_write’ differ in signedness
make[3]: *** [mconf.o] Error 1
make[3]: Leaving directory `/usr/src/WL-HDD/broadcom/src/gateway/config'
make[2]: *** [oldconf] Error 2
make[2]: Leaving directory `/usr/src/WL-HDD/broadcom/src/gateway'
make[1]: *** [.config] Error 2
make[1]: Leaving directory `/usr/src/WL-HDD/broadcom/src/gateway'
make: *** [custom] Error 2
./mkall: line 18: cd: pwd/broadcom/src/gateway: No such file or directory
tar xjf loader-0.04.tar.bz2 -C /usr/src/WL-HDD/broadcom/src/gateway
mv /usr/src/WL-HDD/broadcom/src/gateway/loader-0.04 /usr/src/WL-HDD/broadcom/src/gateway/loader
tar xjf busybox-1.01.tar.bz2 -C /usr/src/WL-HDD/broadcom/src/gateway
patch -d /usr/src/WL-HDD/broadcom/src/gateway/busybox-1.01 -p1 < busybox-1.01.patch
patching file include/applets.h
patching file include/usage.h
patching file shell/ash.c
Hunk #1 succeeded at 1526 (offset 1 line).
patching file sysklogd/syslogd.c
patching file editors/awk.c
Hunk #4 succeeded at 1871 (offset -1 lines).
Hunk #5 succeeded at 2020 (offset -1 lines).
patching file networking/udhcp/packet.c
patching file networking/udhcp/socket.c
patch -d /usr/src/WL-HDD/broadcom/src/gateway/busybox-1.01 -p1 < busybox-1.01-applets.diff
patching file coreutils/Config.in
patching file coreutils/Makefile.in
patching file coreutils/nice.c
patching file coreutils/nohup.c
patching file include/applets.h
Hunk #1 succeeded at 187 (offset 3 lines).
patching file include/usage.h
patching file networking/Config.in
patching file networking/ether-wake.c
patching file networking/Makefile.in
cp busybox-1.01.config /usr/src/WL-HDD/broadcom/src/gateway/busybox-1.01/sysdeps/linux/defconfig
mv /usr/src/WL-HDD/broadcom/src/gateway/busybox-1.01 /usr/src/WL-HDD/broadcom/src/gateway/busybox
cd /usr/src/WL-HDD/broadcom/src/gateway/ppp && ./configure --prefix=/usr --sysconfdir=/tmp
Configuring for Linux
Creating links to Makefiles.
Makefile -> linux/Makefile.top
linux/Makedefs -> Makedefs.com
pppd/Makefile -> Makefile.linux
pppstats/Makefile -> Makefile.linux
chat/Makefile -> Makefile.linux
pppdump/Makefile -> Makefile.linux
pppd/plugins/Makefile -> Makefile.linux
pppd/plugins/rp-pppoe/Makefile -> Makefile.linux
pppd/plugins/radius/Makefile -> Makefile.linux
patch -d /usr/src/WL-HDD/broadcom/src/gateway -p1 < nas.diff
The next patch would create the file nas/Makefile,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file nas/Makefile.rej
make: *** [nas] Error 1
[ ! -d /usr/src/WL-HDD/broadcom/src/router/image-WLHDD ] || [ -d /usr/src/WL-HDD/broadcom/src/gateway/image-WLHDD ] || \
tar -C /usr/src/WL-HDD/broadcom/src/router -cf - image-WLHDD | tar -C /usr/src/WL-HDD/broadcom/src/gateway -xf -
[ ! -f image-WLHDD.diff ] || patch -d /usr/src/WL-HDD/broadcom/src/gateway -p1 --no-backup-if-mismatch < image-WLHDD.diff