termux-packages/packages/apt/configure.patch
2015-12-03 20:00:19 -05:00

28 lines
1020 B
Diff

diff -u -r ../apt-1.1.3/configure ./configure
--- ../apt-1.1.3/configure 2015-11-30 03:09:08.000000000 -0500
+++ ./configure 2015-12-03 18:24:35.580920131 -0500
@@ -4822,13 +4822,7 @@
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
-if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
-
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed: I need gtest (packaged as libgtest-dev) for unit testing" >&5
-$as_echo "$as_me: WARNING: failed: I need gtest (packaged as libgtest-dev) for unit testing" >&2;}
-fi
+ac_cv_header_gtest_gtest_h=yes
ac_ext=c
@@ -5003,7 +4997,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking debian architecture" >&5
$as_echo_n "checking debian architecture... " >&6; }
-archset="`dpkg-architecture -qDEB_HOST_ARCH`"
+archset=TERMUX_ARCH
if test "x$archset" = "x"; then
as_fn_error $? "failed: use --host= or output from dpkg-architecture" "$LINENO" 5
fi