termux-packages/packages/dpkg/configure.patch
2022-05-01 18:02:19 +02:00

22 lines
926 B
Diff

diff -u -r ../dpkg-1.21.7/configure ./configure
--- ../dpkg-1.21.7/configure 2022-04-30 20:54:49.352689537 -0300
+++ ./configure 2022-04-30 20:56:52.770022395 -0300
@@ -29818,7 +29818,7 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dpkg cpu type" >&5
printf %s "checking dpkg cpu type... " >&6; }
- cpu_type=$(PERL=$PERL ${CONFIG_SHELL-/bin/sh} "$srcdir/build-aux/run-script" scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH_CPU 2>/dev/null)
+ cpu_type=TERMUX_ARCH
if test "x$cpu_type" = "x"
then :
@@ -29867,7 +29867,7 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dpkg architecture name" >&5
printf %s "checking dpkg architecture name... " >&6; }
- dpkg_arch=$(PERL=$PERL ${CONFIG_SHELL-/bin/sh} "$srcdir/build-aux/run-script" scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH 2>/dev/null)
+ dpkg_arch=TERMUX_ARCH
if test "x$dpkg_arch" = "x"
then :