Package: man-db
Version: 2.5.6-3
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

as shown in [1], currently man-db fails to compile in GNU/Hurd because of
undeclared stuff (STDIN_FILENO and dup()).
Easy fix is including unistd.h, which is what the attached patch does.

[1] 
http://buildd.debian-ports.org/fetch.php?pkg=man-db&arch=hurd-i386&ver=2.5.6-3&stamp=1253983217&file=log&as=raw

Thanks,
-- 
Pino
--- man-db-2.5.6.orig/src/encodings.c
+++ man-db-2.5.6/src/encodings.c
@@ -26,6 +26,7 @@
 
 #include <string.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "gettext.h"
 #include <locale.h>

Reply via email to