termux-packages/packages/apt/configure.patch

28 lines
Diff
Raw Normal View History

2015-12-04 02:00:19 +01:00
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
2015-06-13 01:03:31 +02:00
2015-12-04 02:00:19 +01:00
-ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
2015-06-13 01:03:31 +02:00
-if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
-
-else
2015-12-04 02:00:19 +01:00
- { $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;}
2015-06-13 01:03:31 +02:00
-fi
2015-12-04 02:00:19 +01:00
+ac_cv_header_gtest_gtest_h=yes
2015-06-13 01:03:31 +02:00
ac_ext=c
2015-12-04 02:00:19 +01:00
@@ -5003,7 +4997,7 @@
2015-06-13 01:03:31 +02:00
{ $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