Docker and build updates
[termux-packages] / packages / dpkg / configure.patch
1 diff -u -r ../dpkg-1.18.7/configure ./configure
2 --- ../dpkg-1.18.7/configure 2016-05-08 22:09:16.000000000 -0400
3 +++ ./configure 2016-05-24 16:52:40.683774088 -0400
4 @@ -24862,7 +24862,7 @@
5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg cpu type" >&5
6 $as_echo_n "checking dpkg cpu type... " >&6; }
7
8 -cpu_type=$(PERL=$PERL $srcdir/run-script scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH_CPU 2>/dev/null)
9 +cpu_type=TERMUX_ARCH
10
11 if test "x$cpu_type" = "x"; then
12 cpu_type=$host_cpu
13 @@ -24904,7 +24904,7 @@
14 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg architecture name" >&5
15 $as_echo_n "checking dpkg architecture name... " >&6; }
16
17 -dpkg_arch=$(PERL=$PERL $srcdir/run-script scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH 2>/dev/null)
18 +dpkg_arch=TERMUX_ARCH
19
20 if test "x$dpkg_arch" = "x"; then
21 as_fn_error $? "cannot determine host dpkg architecture" "$LINENO" 5