From 2bdb9335dafafd412f6d167f9184382da46b171e Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 20 Dec 2016 23:43:51 -0500 Subject: [PATCH] torsocks: Add patch for libc.so on android --- disabled-packages/torsocks/configure.ac.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 disabled-packages/torsocks/configure.ac.patch diff --git a/disabled-packages/torsocks/configure.ac.patch b/disabled-packages/torsocks/configure.ac.patch new file mode 100644 index 00000000..123c3f70 --- /dev/null +++ b/disabled-packages/torsocks/configure.ac.patch @@ -0,0 +1,11 @@ +diff -u -r ../torsocks-2.2.0/configure.ac ./configure.ac +--- ../torsocks-2.2.0/configure.ac 2016-10-18 12:44:01.000000000 -0400 ++++ ./configure.ac 2016-12-20 23:35:32.966335918 -0500 +@@ -121,6 +121,7 @@ + AC_MSG_CHECKING(file name of the C library) + AS_CASE([$host_os], + [darwin*], [libc_name="libSystem.dylib"], ++ [*linux-android*], [libc_name="libc.so"], + [linux*|kfreebsd*-gnu|freebsd*], + [ + libc_name=`ldd /usr/bin/yes | grep 'libc\.' | cut -d ' ' -f 1 | tr -d '\t'` -- 2.11.0