From 3da4185e3d6659a756b555f3655d52cd7ebb8e5c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 4 Jun 2015 11:10:35 +0200 Subject: update ltp to latest stable version --- package/ltp/Makefile | 8 +++-- .../patches/0001-realtime-Fix-exp10-check.patch | 40 ---------------------- 2 files changed, 5 insertions(+), 43 deletions(-) delete mode 100644 package/ltp/patches/0001-realtime-Fix-exp10-check.patch (limited to 'package') diff --git a/package/ltp/Makefile b/package/ltp/Makefile index cc0b007f3..e575de1ec 100644 --- a/package/ltp/Makefile +++ b/package/ltp/Makefile @@ -4,9 +4,9 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= ltp -PKG_VERSION:= 20140828 -PKG_RELEASE:= 2 -PKG_HASH:= 9e6264017a9087d9f9bd0fa2f2d96708f6b32bb8770fda03942a7a8cab8c6723 +PKG_VERSION:= 20150420 +PKG_RELEASE:= 1 +PKG_HASH:= ad504e6697b964787f51caad6d8a916caa367f241ac602545548488195216a80 PKG_DESCR:= linux test project PKG_DEPENDS:= bash libpthread librt PKG_DEPENDS+= mke2fs mkfs @@ -35,11 +35,13 @@ pre-configure: $(MAKE) -C $(WRKBUILD) autotools # bessel float version not implemented in uClibc +# mallopt in uClibc-ng not implemented pre-build: -rm ${WRKBUILD}/testcases/misc/math/float/float_bessel.c -rm -rf ${WRKBUILD}/testcases/misc/math/float/bessel -rm -rf ${WRKBUILD}/testcases/network/{rpc,nfs*} -rm -rf ${WRKBUILD}/testcases/kernel/syscalls/profil + -rm -rf ${WRKBUILD}/testcases/kernel/syscalls/mallopt ltp-install: $(INSTALL_DIR) $(IDIR_LTP)/opt/ltp/tmp diff --git a/package/ltp/patches/0001-realtime-Fix-exp10-check.patch b/package/ltp/patches/0001-realtime-Fix-exp10-check.patch deleted file mode 100644 index f2be67573..000000000 --- a/package/ltp/patches/0001-realtime-Fix-exp10-check.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 03bf456cb5b65ff7cfabfab3758ca8f3c6816556 Mon Sep 17 00:00:00 2001 -From: Cyril Hrubis -Date: Thu, 4 Sep 2014 11:28:55 +0200 -Subject: [PATCH] realtime: Fix exp10 check. - -The parameter to exp10() function was constant and because of that it -was substituted by a constant at the compile time. - -This patch passes volatile float as the parameter and also adds -lm to -the LIBS which is needed to link the test. - -Reported-by: Waldemar Brodkorb -Signed-off-by: Cyril Hrubis ---- - testcases/realtime/m4/ltp-exp10.m4 | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/testcases/realtime/m4/ltp-exp10.m4 b/testcases/realtime/m4/ltp-exp10.m4 -index 4fe7091..84a3d9b 100644 ---- a/testcases/realtime/m4/ltp-exp10.m4 -+++ b/testcases/realtime/m4/ltp-exp10.m4 -@@ -24,10 +24,14 @@ AC_DEFUN([LTP_CHECK_EXP10],[ - AH_TEMPLATE(HAVE_EXP10, - [Define to 1 if you have 'exp10' function.]) - AC_MSG_CHECKING([for exp10]) -+backup_ldlibs="$LIBS" -+LIBS+=" -lm" - AC_TRY_LINK([#define _GNU_SOURCE - #include ], - [ -- exp10(0.00); -+ volatile float val; -+ exp10(val); - ], - AC_DEFINE(HAVE_EXP10) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) -+LIBS="$backup_ldlibs" - ]) --- -1.8.5.5 - -- cgit v1.2.3