From: Aaron M. Ucko Date: Fri, 26 Jul 2024 18:53:02 +0000 (-0400) Subject: debian/patches/hurd_fixes: Extend to ncbi_localip.c. X-Git-Tag: archive/raspbian/2.16.0+ds-7+rpi1~1^2~39 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c0f41780ad1bfc819683efd47d58138750b5c42e;p=ncbi-blast%2B.git debian/patches/hurd_fixes: Extend to ncbi_localip.c. It otherwise accommodates PATH_MAX's absence only under Windows. --- diff --git a/debian/changelog b/debian/changelog index e020ae95..583e9aa1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,12 @@ ncbi-blast+ (2.16.0+ds-2) UNRELEASED; urgency=medium * NOT RELEASED YET. + * debian/patches/hurd_fixes: Extend to ncbi_localip.c, which otherwise + accommodates PATH_MAX's absence only under Windows. * debian/rules: Link with -latomic on most 32-bit architectures (excepting only x86 and armhf, which succeed as is). - -- Aaron M. Ucko Fri, 26 Jul 2024 14:43:37 -0400 + -- Aaron M. Ucko Fri, 26 Jul 2024 14:53:01 -0400 ncbi-blast+ (2.16.0+ds-1) unstable; urgency=medium diff --git a/debian/patches/hurd_fixes b/debian/patches/hurd_fixes index a9fccde7..884c030e 100644 --- a/debian/patches/hurd_fixes +++ b/debian/patches/hurd_fixes @@ -40,3 +40,14 @@ Last-Update: 2020-09-19 # define PATH_MAX 512 // will actually use less than 32 chars #endif // NCBI_OS_MSWIN && !PATH_MAX +--- a/c++/src/connect/ncbi_localip.c ++++ b/c++/src/connect/ncbi_localip.c +@@ -67,7 +67,7 @@ + # define INADDR_LOOPBACK 0x7F000001 + #endif /*!INADDR_LOOPBACK*/ + +-#if defined(NCBI_OS_MSWIN) && !defined(PATH_MAX) ++#if /* defined(NCBI_OS_MSWIN) && */ !defined(PATH_MAX) + # ifdef _MAX_PATH + # define PATH_MAX _MAX_PATH + #else