* NOT YET RELEASED.
* Team upload.
* debian/patches/support_other_cpus: belatedly add a descriptive header.
+ * debian/patches/hurd_fixes: new; fix hurd-specific issues.
+ (Closes: #629656, this time for sure. ;-)
- -- Aaron M. Ucko <ucko@debian.org> Fri, 10 Jun 2011 20:30:19 -0400
+ -- Aaron M. Ucko <ucko@debian.org> Fri, 10 Jun 2011 20:31:47 -0400
ncbi-blast+ (2.2.25-3) unstable; urgency=low
--- /dev/null
+Subject: fix portability issues that led to Hurd build failures
+
+* src/build-system/configure(.ac): when checking how select works, reset
+ the alarm from the signal handler to avoid spinning forever.
+* src/connect/ncbi_socket_cxx.cpp: cope with missing PATH_MAX everywhere,
+ not just under Windows.
+
+Author: Aaron M. Ucko <ucko@debian.org>
+Last-Update: 2011-06-10
+Index: b/c++/src/build-system/configure
+===================================================================
+--- a/c++/src/build-system/configure 2011-06-10 20:18:43.000000000 -0400
++++ b/c++/src/build-system/configure 2011-06-10 20:19:52.000000000 -0400
+@@ -11416,7 +11416,7 @@
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif
+- RETSIGTYPE handler(int sig) { }
++ RETSIGTYPE handler(int sig) { alarm(0); }
+ int
+ main ()
+ {
+Index: b/c++/src/build-system/configure.ac
+===================================================================
+--- a/c++/src/build-system/configure.ac 2011-06-10 20:18:43.000000000 -0400
++++ b/c++/src/build-system/configure.ac 2011-06-10 20:19:39.000000000 -0400
+@@ -2811,7 +2811,7 @@
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif
+- RETSIGTYPE handler(int sig) { }]],
++ RETSIGTYPE handler(int sig) { alarm(0); }]],
+ [[struct timeval timeout = { 5, 0 };
+ signal(SIGALRM, &handler);
+ alarm(1);
+Index: b/c++/src/connect/ncbi_socket_cxx.cpp
+===================================================================
+--- a/c++/src/connect/ncbi_socket_cxx.cpp 2011-06-10 20:19:06.000000000 -0400
++++ b/c++/src/connect/ncbi_socket_cxx.cpp 2011-06-10 20:20:12.000000000 -0400
+@@ -34,7 +34,7 @@
+ #include <ncbi_pch.hpp>
+ #include <connect/ncbi_socket_unix.hpp>
+ #include <limits.h> // for PATH_MAX
+-#if defined(NCBI_OS_MSWIN) && !defined(PATH_MAX)
++#ifndef PATH_MAX
+ # define PATH_MAX 512 // will actually use less than 32 chars
+ #endif
+