Package: aria2
Severity: important

Hello,

aria2 currently FTBFS on hurd-i386 because in a2io.h EINPROGRESS is
defined without including <errno.h> first, so that when <errno.h>
eventually gets included (and tries to define EINPROGRESS as well),
things become a mess.  Could you please apply attached patch?

Thanks,
Samuel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel
+#if defined(__alpha__) && defined(CONFIG_PCI)
+       /*
+        * The meaning of life, the universe, and everything. Plus
+        * this makes the year come out right.
+        */
+       year -= 42;
+#endif
(From the patch for 1.3.2: (kernel/time.c), submitted by Marcus Meissner)
--- aria2-0.14.0/src/a2io.h.orig        2008-06-29 20:27:18.837370000 -0400
+++ aria2-0.14.0/src/a2io.h     2008-06-29 20:25:09.000000000 -0400
@@ -39,6 +39,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <errno.h>
 
 #ifdef HAVE_IO_H
 # include <io.h>

Reply via email to