Bug#641028: libdvdnav: FTBFS on hurd-i386
Package: libdvdnav
Version: 4.1.4-1219
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
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
Reply to: