Docker and build updates
[termux-packages] / packages / dpkg / configure.patch
diff --git a/packages/dpkg/configure.patch b/packages/dpkg/configure.patch
new file mode 100644 (file)
index 0000000..0ff1427
--- /dev/null
@@ -0,0 +1,21 @@
+diff -u -r ../dpkg-1.18.7/configure ./configure
+--- ../dpkg-1.18.7/configure   2016-05-08 22:09:16.000000000 -0400
++++ ./configure        2016-05-24 16:52:40.683774088 -0400
+@@ -24862,7 +24862,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg cpu type" >&5
+ $as_echo_n "checking dpkg cpu type... " >&6; }
+-cpu_type=$(PERL=$PERL $srcdir/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
+       cpu_type=$host_cpu
+@@ -24904,7 +24904,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg architecture name" >&5
+ $as_echo_n "checking dpkg architecture name... " >&6; }
+-dpkg_arch=$(PERL=$PERL $srcdir/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
+       as_fn_error $? "cannot determine host dpkg architecture" "$LINENO" 5