Package: djvulibre
Version: 3.5.17-3
Severity: important
Tags: patch

Hello,

djvulibre currently FTBFS on hurd-i386 because it uses MAXPATHLEN
unconditionnaly in qd_print_dialog.cpp.  The attached patch uses a
default value, as is done in other places of the code, please apply it.

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
 > Quelqu'un aurait-il une solution pour réinitialiser un MBR
 Si tu veux qu'il soit complètement blanc (pas souhaitable, à mon avis) :
 dd if=/dev/zero of=/dev/hda bs=512 count=1 (sous Linux)
 -+- OT in Guide du linuxien (très) pervers - "Pour les K difficiles" -+-
--- gui/shared/QT/qd_print_dialog.cpp.orig      2008-06-20 21:05:44.000000000 
-0400
+++ gui/shared/QT/qd_print_dialog.cpp   2008-06-20 21:05:50.301458000 -0400
@@ -98,6 +98,20 @@
 #include <errno.h>
 #include <signal.h>
 
+// -- MAXPATHLEN
+#ifndef MAXPATHLEN
+# ifdef _MAX_PATH
+#  define MAXPATHLEN _MAX_PATH
+# else
+#  define MAXPATHLEN 1024
+# endif
+#else
+# if ( MAXPATHLEN < 1024 )
+#  undef MAXPATHLEN
+#  define MAXPATHLEN 1024
+# endif
+#endif
+
 /** Avoid name clashes on solaris! */
 #ifdef PS
 # undef PS

Reply via email to