]> gitweb.michael.orlitzky.com - mjo-overlay.git/blob - net-proxy/torsocks/files/fix-find-libc.so.patch
net-proxy/torsocks: add gentoo package.
[mjo-overlay.git] / net-proxy / torsocks / files / fix-find-libc.so.patch
1 diff -Nuar torsocks-2.0.0-rc3.orig/configure.ac torsocks-2.0.0-rc3/configure.ac
2 --- torsocks-2.0.0-rc3.orig/configure.ac 2013-11-03 13:24:51.000000000 -0500
3 +++ torsocks-2.0.0-rc3/configure.ac 2014-01-26 12:49:55.157606016 -0500
4 @@ -132,7 +132,7 @@
5 dnl Get libc full system path. Use prefix or some hardcoded standard
6 dnl location on Unixish system.
7 AC_MSG_CHECKING(location of libc.so)
8 -for DIR in "$prefix/lib" "$prefix/usr/lib" '/lib' '/usr/lib'; do
9 +for DIR in "$prefix/lib*" "$prefix/usr/lib*" '/lib*' '/usr/lib*'; do
10 if test "${LIBC_PATH}" = ""; then
11 LIBC_PATH=`$FIND $DIR -name "libc.so.?" 2>/dev/null | $TAIL -1`
12 fi