* debian/control: Build against libnghttp2-dev, libsqlite3-dev, and
libuv1-dev, newly needed.
* debian/patches: Update for new release, mostly formally.
+ * debian/patches/series: Move system_mbedtls_only up in conjunction with
+ incorporating part of an upstream patch needed by support_mbedtls3.
+ * debian/patches/system_mbedtls: Extend to cover ncbi_mbedtls.c (as in
+ https://github.com/ncbi/ncbi-cxx-toolkit-public/commit/f9c7297dd1)
+ and Makefile.xxconnect2.lib.
+ * debian/rules:
+ - Extend generated-sources cleanup to objtools/eutils (not entirely
+ straightforward due to input format variation).
+ - Tune flags: Add --without-strip to make --with-symbols effective;
+ switch off warnings from __DATE__/__TIME__ usage, since
+ dpkg-buildpackage's SOURCE_DATE_EPOCH injection should suffice.
-- Aaron M. Ucko <ucko@debian.org> Wed, 17 Jul 2024 21:39:28 -0400
#include <corelib/ncbimisc.hpp>
+--- a/c++/src/connect/ncbi_mbedtls.c
++++ b/c++/src/connect/ncbi_mbedtls.c
+@@ -43,7 +43,6 @@
+
+ #if defined(HAVE_LIBMBEDTLS) || defined(NCBI_CXX_TOOLKIT)
+
+-# ifdef HAVE_LIBMBEDTLS /* external */
+ # include <mbedtls/ctr_drbg.h>
+ # include <mbedtls/debug.h>
+ # include <mbedtls/entropy.h>
+@@ -53,17 +52,6 @@
+ # include <mbedtls/ssl.h>
+ # include <mbedtls/threading.h>
+ # include <mbedtls/version.h>
+-# else /* embedded */
+-# include "mbedtls/mbedtls/ctr_drbg.h"
+-# include "mbedtls/mbedtls/debug.h"
+-# include "mbedtls/mbedtls/entropy.h"
+-# include "mbedtls/mbedtls/error.h"
+-# include "mbedtls/mbedtls/pk.h"
+-# include "mbedtls/mbedtls/net_sockets.h"
+-# include "mbedtls/mbedtls/ssl.h"
+-# include "mbedtls/mbedtls/threading.h"
+-# include "mbedtls/mbedtls/version.h"
+-# endif /*HAVE_LIBMBEDTLS*/
+
+ # if defined(ENOTSUP)
+ # define NCBI_NOTSUPPORTED ENOTSUP
+--- a/c++/src/connect/Makefile.xxconnect2.lib
++++ b/c++/src/connect/Makefile.xxconnect2.lib
+@@ -9,8 +9,7 @@ REQUIRES = LIBUV NGHTTP2
+ LIB_OR_DLL = both
+ DLL_LIB = xconnect
+
+-CPPFLAGS = $(LIBUV_INCLUDE) $(NGHTTP2_INCLUDE) $(TLS_INCLUDE) \
+- -I$(srcdir)/mbedtls $(ORIG_CPPFLAGS)
++CPPFLAGS = $(LIBUV_INCLUDE) $(NGHTTP2_INCLUDE) $(TLS_INCLUDE) $(ORIG_CPPFLAGS)
+
+ LIBS = $(XXCONNECT2_LIBS) $(ORIG_LIBS)
+