summaryrefslogtreecommitdiffstats
path: root/patches/bind-9.3.2/bind-9.3.2-gen-on-host.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/bind-9.3.2/bind-9.3.2-gen-on-host.diff')
-rw-r--r--patches/bind-9.3.2/bind-9.3.2-gen-on-host.diff41
1 files changed, 41 insertions, 0 deletions
diff --git a/patches/bind-9.3.2/bind-9.3.2-gen-on-host.diff b/patches/bind-9.3.2/bind-9.3.2-gen-on-host.diff
new file mode 100644
index 000000000..d903d7c5f
--- /dev/null
+++ b/patches/bind-9.3.2/bind-9.3.2-gen-on-host.diff
@@ -0,0 +1,41 @@
+#
+# Submitted-By: Robert Schwebel, 2006-01-02
+# Committed-By: Robert Schwebel
+#
+# Error:
+#
+# make[3]: Leaving directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/isccc'
+# making all in /home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/dns
+# make[3]: Entering directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/dns'
+# arm-softfloat-linux-gnu-gcc -I/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2 -I. -Iinclude -I/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/dns/include -I../../lib/dns/include -I/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/nothreads/include -DUSE_MD5 -g -O2 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -L/home/rsc/svn/ptxdist-build-0.9-trunk/local/arm-softfloat-linux-gnu/lib -L/home/rsc/svn/ptxdist-build-0.9-trunk/local/arm-softfloat-linux-gnu/usr/lib -o gen ./gen.c -lnsl
+# ./gen -s . -t > include/dns/enumtype.h
+# /bin/sh: ./gen: cannot execute binary file
+# make[3]: *** [include/dns/enumtype.h] Error 126
+# make[3]: Leaving directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/dns'
+# make[2]: *** [subdirs] Error 1
+# make[2]: Leaving directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib'
+# make[1]: *** [subdirs] Error 1
+# make[1]: Leaving directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2'
+# make: *** [/home/rsc/svn/ptxdist-build-0.9-trunk/state/bind.compile] Error 2
+#
+# Description:
+#
+# Makefile.in doesn't care about gen being compiled with a host compiler
+#
+# State:
+#
+# unknown
+#
+
+diff -urN bind-9.3.2/lib/dns/Makefile.in bind-9.3.2-ptx/lib/dns/Makefile.in
+--- bind-9.3.2/lib/dns/Makefile.in 2004-12-09 05:07:15.000000000 +0100
++++ bind-9.3.2-ptx/lib/dns/Makefile.in 2006-01-02 09:53:56.000000000 +0100
+@@ -156,7 +156,7 @@
+ ./gen -s ${srcdir} > code.h
+
+ gen: gen.c
+- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
++ ${CC_FOR_BUILD} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
+
+ rbtdb64.@O@: rbtdb.c
+