From 45cad46dbefc45377652a087e50205b7b4529cd7 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sat, 8 Jun 2019 17:58:55 +0200 Subject: [PATCH] app-crypt/libu2f-server: remove unused patch MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Mair-Keimberger Signed-off-by: Göktürk Yüksek --- .../files/libu2f-server-1.0.1-tests-fix.patch | 54 ------------------- 1 file changed, 54 deletions(-) delete mode 100644 app-crypt/libu2f-server/files/libu2f-server-1.0.1-tests-fix.patch diff --git a/app-crypt/libu2f-server/files/libu2f-server-1.0.1-tests-fix.patch b/app-crypt/libu2f-server/files/libu2f-server-1.0.1-tests-fix.patch deleted file mode 100644 index 3cbb9c93868c..000000000000 --- a/app-crypt/libu2f-server/files/libu2f-server-1.0.1-tests-fix.patch +++ /dev/null @@ -1,54 +0,0 @@ -From: Gokturk Yuksek -Subject: [PATCH] Make tests with CHECK optional at configure time - ---- a/configure.ac -+++ b/configure.ac -@@ -63,7 +63,15 @@ - - PKG_CHECK_MODULES([LIBCRYPTO], [libcrypto], [], []) - --PKG_CHECK_MODULES([CHECK], [check], [], []) -+AC_ARG_ENABLE([tests], -+ [AS_HELP_STRING([--enable-tests], -+ [use check to run the unit tests])], -+ [enable_tests=$enableval], -+ [enable_tests=no]) -+AM_CONDITIONAL([ENABLE_TESTS],[test '!' "$enable_tests" = no]) -+if test '!' "$enable_tests" = no; then -+ PKG_CHECK_MODULES([CHECK], [check], [], [AC_MSG_NOTICE(Check package not found `make check` won't work)]) -+fi - - AC_ARG_ENABLE([coverage], - [AS_HELP_STRING([--enable-coverage], -@@ -123,11 +131,15 @@ - Makefile - gtk-doc/Makefile - src/Makefile -- tests/Makefile - u2f-server/Makefile - u2f-server/u2f-server-version.h - u2f-server/u2f-server.pc - ]) -+if test '!' "$enable_tests" = no; then -+ AC_CONFIG_FILES([ -+ tests/Makefile -+ ]) -+fi - AC_OUTPUT - - AC_MSG_NOTICE([summary of build options: ---- a/Makefile.am -+++ b/Makefile.am -@@ -25,7 +25,11 @@ - # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - --SUBDIRS = u2f-server src tests gtk-doc -+SUBDIRS = u2f-server src gtk-doc -+ -+if ENABLE_TESTS -+SUBDIRS+=tests -+endif - - ACLOCAL_AMFLAGS = -I m4 - -- 2.26.2