libdevmapper: downgrade to 2.02.183

This commit is contained in:
Henrik Grimler 2019-02-09 18:13:30 +01:00 committed by Yaksh Bariya
parent 0a807b5488
commit f6913026ec
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
3 changed files with 85 additions and 3 deletions

View File

@ -1,10 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://sourceware.org/lvm2/
TERMUX_PKG_DESCRIPTION="A device-mapper library from LVM2 package"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.03.00
TERMUX_PKG_VERSION=2.02.183
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/sourceware/lvm2/releases/LVM2.${TERMUX_PKG_VERSION}.tgz
TERMUX_PKG_SHA256=405992bf76960e60c7219d84d5f1e22edc34422a1ea812e21b2ac3c813d0da4e
TERMUX_PKG_DEPENDS="libandroid-support, libaio"
TERMUX_PKG_SHA256=4382a81553ae62885a83a37d7400d75094549d5f05f6d003a4db85a79bae6468
TERMUX_PKG_DEPENDS="libandroid-support, libaio, readline"
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_API_LEVEL=23

View File

@ -0,0 +1,82 @@
--- ../configure.orig 2019-02-09 18:02:35.976650487 +0100
+++ ./configure 2019-02-09 18:07:20.969981859 +0100
@@ -10703,11 +10703,11 @@
done
- check_lib_no_libs dlm dlm_lock -lpthread
+ check_lib_no_libs dlm dlm_lock
if test $NOTFOUND = 0; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no pkg for libdlm, using -ldlm" >&5
$as_echo "no pkg for libdlm, using -ldlm" >&6; }
- DLM_LIBS="-ldlm -lpthread"
+ DLM_LIBS="-ldlm"
HAVE_DLM=yes
fi
elif test $pkg_failed = untried; then
@@ -10728,11 +10728,11 @@
done
- check_lib_no_libs dlm dlm_lock -lpthread
+ check_lib_no_libs dlm dlm_lock
if test $NOTFOUND = 0; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no pkg for libdlm, using -ldlm" >&5
$as_echo "no pkg for libdlm, using -ldlm" >&6; }
- DLM_LIBS="-ldlm -lpthread"
+ DLM_LIBS="-ldlm"
HAVE_DLM=yes
fi
else
@@ -13909,51 +13909,6 @@
hard_bailout
fi
-
-################################################################################
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5
-$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
-if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char pthread_mutex_lock ();
-int
-main ()
-{
-return pthread_mutex_lock ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_pthread_pthread_mutex_lock=yes
-else
- ac_cv_lib_pthread_pthread_mutex_lock=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
-$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
-if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then :
- PTHREAD_LIBS="-lpthread"
-else
- hard_bailout
-fi
-
-
################################################################################
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable selinux support" >&5
$as_echo_n "checking whether to enable selinux support... " >&6; }