termux-packages/packages/dpkg/DEBUG.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

25 lines
1.0 KiB
Diff

diff -u -r ../dpkg-1.17.10/configure ./configure
--- ../dpkg-1.17.10/configure 2014-06-05 21:06:21.000000000 +0200
+++ ./configure 2014-07-11 16:43:38.654247015 +0200
@@ -23547,7 +23547,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg cpu type" >&5
$as_echo_n "checking dpkg cpu type... " >&6; }
-cpu_type=$($srcdir/run-script $PERL scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH_CPU 2>/dev/null)
+cpu_type=TERMUX_ARCH
if test "x$cpu_type" = "x"; then
cpu_type=$host_cpu
@@ -23587,9 +23587,9 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg architecture name" >&5
-$as_echo_n "checking dpkg architecture name... " >&6; }
+$as_echo_n "checking dpkg architecture name... $srcdir/run-script $PERL scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH" >&6; }
-dpkg_arch=$($srcdir/run-script $PERL scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH 2>/dev/null)
+dpkg_arch=TERMUX_ARCH
if test "x$dpkg_arch" = "x"; then
as_fn_error $? "cannot determine host dpkg architecture" "$LINENO" 5