Package: libdvdnav
Version: 4.1.4-1219
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

The libdvdnav package currently fails to build from source on the Hurd due
to a condition missing to define MAXPATHLEN. The patch below fixes this issue.

diff -ur libdvdnav-4.1.4-1219/src/remap.c 
libdvdnav-4.1.4-1219.modified//src/remap.c
--- libdvdnav-4.1.4-1219/src/remap.c    2008-12-30 15:48:46.000000000 +0100
+++ libdvdnav-4.1.4-1219.modified//src/remap.c  2011-09-09 17:11:47.000000000 
+0200
@@ -27,6 +27,9 @@
 #ifndef _MSC_VER
 #include <sys/param.h>
 #include <sys/fcntl.h>
+#ifdef __GNU__ 
+#define MAXPATHLEN 255
+#endif
 #else
 #ifndef MAXPATHLEN
 #define MAXPATHLEN 255





-- 
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