Diff file attached:
Index: package/network/dhcp/dhcp-bind.patch.cross =================================================================== --- package/network/dhcp/dhcp-bind.patch.cross (revision 41957) +++ package/network/dhcp/dhcp-bind.patch.cross (working copy) @@ -1,55 +1,13 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../dhcp/dhcp-bind.patch.cross -# Copyright (C) 2010 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- T2-COPYRIGHT-NOTE-END --- - -diff -ruN dhcp-4.2.0/bind/bind-9.7.1/lib/export/dns/Makefile.in dhcp-4.2.0_new/bind/bind-9.7.1/lib/export/dns/Makefile.in ---- dhcp-4.2.0/bind/bind-9.7.1/lib/export/dns/Makefile.in 2009-12-06 02:31:40.000000000 +0300 -+++ dhcp-4.2.0_new/bind/bind-9.7.1/lib/export/dns/Makefile.in 2010-08-17 13:04:52.622313241 +0400 -@@ -160,7 +160,7 @@ - ./gen -s ${srcdir} > code.h - - gen: ${srcdir}/gen.c -- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS} -+ ${BUILD_CC} ${ALL_CFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS} - - #We don't need rbtdb64 for this library - #rbtdb64.@O@: rbtdb.c -diff -ruN dhcp-4.2.0/bind/Makefile dhcp-4.2.0_new/bind/Makefile ---- dhcp-4.2.0/bind/Makefile 2010-07-10 07:26:52.000000000 +0400 -+++ dhcp-4.2.0_new/bind/Makefile 2010-08-17 13:07:19.791270208 +0400 -@@ -45,7 +45,7 @@ - # Currently disable the epoll and devpoll options as they don't interact - # well with the DHCP code. - @echo Configuring BIND Export libraries for DHCP. -- @(cd ${bindsrcdir} && ./configure --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib > ${binddir}/configure.log) -+ @(cd ${bindsrcdir} && ./configure --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib --build=${build_alias} --host=${host_alias} --with-randomdev=/dev/random > ${binddir}/configure.log) - - # Build the export libraries - @echo Building BIND Export libraries - this takes some time. -diff -ruN dhcp-4.2.0/configure dhcp-4.2.0_new/configure ---- dhcp-4.2.0/configure 2010-07-10 07:26:25.000000000 +0400 -+++ dhcp-4.2.0_new/configure 2010-08-11 19:29:23.000000000 +0400 -@@ -9712,4 +9712,4 @@ +--- dhcp-4.2.1/configure.vanilla 2013-07-18 12:25:03.537954837 -0400 ++++ dhcp-4.2.1/configure 2013-07-18 12:26:02.753109904 -0400 +@@ -9888,4 +9888,4 @@ fi -sh util/bindvar.sh +sh util/bindvar.sh $host_alias $build_alias -diff -ruN dhcp-4.2.0/util/bindvar.sh dhcp-4.2.0_new/util/bindvar.sh ---- dhcp-4.2.0/util/bindvar.sh 2009-12-03 01:35:03.000000000 +0300 -+++ dhcp-4.2.0_new/util/bindvar.sh 2010-08-11 19:29:41.000000000 +0400 +--- dhcp-4.2.1/util/bindvar.sh.vanilla 2013-07-18 12:26:31.904693947 -0400 ++++ dhcp-4.2.1/util/bindvar.sh 2013-07-18 12:27:24.391945025 -0400 @@ -32,4 +32,6 @@ cat <<EOF > bind/bindvar.tmp binddir=$binddir/bind @@ -57,4 +15,25 @@ +host_alias=$1 +build_alias=$2 EOF - +--- dhcp-4.2.1/bind/Makefile.vanilla 2013-07-18 12:21:01.285411559 -0400 ++++ dhcp-4.2.1/bind/Makefile 2013-07-18 12:24:21.978547843 -0400 +@@ -45,7 +45,7 @@ + # Currently disable the epoll and devpoll options as they don't interact + # well with the DHCP code. + @echo Configuring BIND Export libraries for DHCP. +- @(cd ${bindsrcdir} && ./configure --disable-kqueue --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib > ${binddir}/configure.log) ++ @(cd ${bindsrcdir} && ./configure --disable-kqueue --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib --build=${build_alias} --host=${host_alias} --with-randomdev=/dev/random > ${binddir}/configure.log) + + # Build the export libraries + @echo Building BIND Export libraries - this takes some time. +--- dhcp-4.2.1/bind/bind-9.8.0/lib/export/dns/Makefile.in.vanilla 2013-07-18 12:18:21.051698012 -0400 ++++ dhcp-4.2.1/bind/bind-9.8.0/lib/export/dns/Makefile.in 2013-07-18 12:20:05.122212976 -0400 +@@ -166,7 +166,7 @@ + ./gen -s ${srcdir} > code.h + + gen: ${srcdir}/gen.c +- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS} ++ ${BUILD_CC} ${ALL_CFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS} + + #We don't need rbtdb64 for this library + #rbtdb64.@O@: rbtdb.c
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
