apt: Fix some minor build issues, update comment
[termux-packages] / packages / apt / configure.patch
index 1a53482..d121f47 100644 (file)
@@ -1,22 +1,16 @@
-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 @@
+diff -u -r ../apt-1.2.12/configure ./configure
+--- ../apt-1.2.12/configure    2016-05-11 08:58:04.000000000 +0000
++++ ./configure        2017-01-20 14:42:21.801501806 +0000
+@@ -569,7 +569,7 @@
+ ac_clean_files=
+ ac_config_libobj_dir=.
+ LIBOBJS=
+-cross_compiling=no
++cross_compiling=yes
+ subdirs=
+ MFLAGS=
+ MAKEFLAGS=
+@@ -5056,7 +5056,7 @@
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking debian architecture" >&5
  $as_echo_n "checking debian architecture... " >&6; }