Bug#657021: tdb: FTBFS on hurd-i386
Package: tdb
Version: 1.2.9-4
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd
Hello,
The following tiny patch below enables a successful build of tdb for
GNU/Hurd. Since IOV_MAX is not defined for Hurd there is no reason to
check it's value.
Builds properly without the test suite, since certain file locking
features are not yet supported.
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b
--- a/lib/replace/system/network.h 2012-01-23 09:47:40.000000000
+0100
+++ b/lib/replace/system/network.h 2012-01-23 13:23:22.000000000
+0100
@@ -321,2 +321,2 @@
#endif
#endif
-#ifndef IOV_MAX
+#if !defined IOV_MAX && !defined __GNU__
# ifdef UIO_MAXIOV
# define IOV_MAX UIO_MAXIOV
# else
Thanks!
Reply to: