preload-hacks: Some patches to make it work.
[termux-packages] / packages / dpkg / configure.patch
index 0ff1427..823100e 100644 (file)
@@ -1,21 +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
+diff -u -r ../dpkg-1.18.15/configure ./configure
+--- ../dpkg-1.18.15/configure  2016-11-15 21:28:05.000000000 -0500
++++ ./configure        2016-11-26 10:44:53.214082696 -0500
+@@ -25749,7 +25749,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
+-      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
+   if test "x$cpu_type" = "x"; then :
+@@ -25800,7 +25800,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
+-      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 :
  
- if test "x$dpkg_arch" = "x"; then
-       as_fn_error $? "cannot determine host dpkg architecture" "$LINENO" 5