dpkg: Fallback to rename(2) instead of link(2) for systems not supporting hard linkin...
[termux-packages] / packages / dpkg / DEBUG.patch
CommitLineData
59f0d218
FF
1diff -u -r ../dpkg-1.17.10/configure ./configure
2--- ../dpkg-1.17.10/configure 2014-06-05 21:06:21.000000000 +0200
3+++ ./configure 2014-07-11 16:43:38.654247015 +0200
4@@ -23547,7 +23547,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=$($srcdir/run-script $PERL 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@@ -23587,9 +23587,9 @@
14
15
16 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg architecture name" >&5
17-$as_echo_n "checking dpkg architecture name... " >&6; }
18+$as_echo_n "checking dpkg architecture name... $srcdir/run-script $PERL scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH" >&6; }
19
20-dpkg_arch=$($srcdir/run-script $PERL scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH 2>/dev/null)
21+dpkg_arch=TERMUX_ARCH
22
23 if test "x$dpkg_arch" = "x"; then
24 as_fn_error $? "cannot determine host dpkg architecture" "$LINENO" 5