From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- extra/openntpd/libtls-standalone.patch | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 extra/openntpd/libtls-standalone.patch (limited to 'extra/openntpd/libtls-standalone.patch') diff --git a/extra/openntpd/libtls-standalone.patch b/extra/openntpd/libtls-standalone.patch deleted file mode 100644 index 3b5d8e4..0000000 --- a/extra/openntpd/libtls-standalone.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 88884c2..b0c0697 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -60,8 +60,13 @@ AM_CONDITIONAL([HAVE_CLOCK_GETRES], [test "x$ac_cv_func_clock_getres" = xyes]) - AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes]) - - # check for libtls --AC_SEARCH_LIBS([tls_config_set_ca_mem],[tls], -- [LIBS="$LIBS -ltls -lssl -lcrypto"],,[-lssl -lcrypto]) -+PKG_CHECK_MODULES([LIBTLS], [libtls],[],[ -+ PKG_CHECK_MODULES([LIBTLS], [libtls-standalone]) -+ ]) -+AC_SEARCH_LIBS([tls_config_set_ca_mem],[tls tls-standalone], -+ [LIBS="$LIBS $LIBTLS_LIBS" -+ CFLAGS="$CFLAGS $LIBTLS_CFLAGS"], -+ ,[$LIBTLS_LIBS]) - AC_CHECK_FUNCS([tls_config_set_ca_mem]) - - # check if libtls uses 3-argument tls_write -- cgit v1.2.1