Package: tdb
Version: 1.2.9-4
Severity: important
Tags: patch
User: [email protected]
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!




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to