From: Christoph Berg Date: Mon, 7 Jun 2010 18:33:27 +0000 (+0200) Subject: #define PATH_MAX _POSIX_PATH_MAX. (Fixed in upstream hg, though differently.) X-Git-Tag: debian/1.5.20-9~1 X-Git-Url: https://git.llucax.com/software/mutt-debian.git/commitdiff_plain/13735110d89ade360cce5c7d590a239a21ca24f4?ds=inline #define PATH_MAX _POSIX_PATH_MAX. (Fixed in upstream hg, though differently.) --- diff --git a/debian/changelog b/debian/changelog index fb63205..3b33062 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ mutt (1.5.20-9~unrel) UNRELEASED; urgency=low * hurd-i386 fixes: + Use libgdbm-dev for this arch until libtokyocabinet-dev is available. + + #define PATH_MAX _POSIX_PATH_MAX. (Fixed in upstream hg, though + differently.) * /usr/bin/mutt is an alternative now, instead of a diversion in mutt-patched. diff --git a/debian/patches/series b/debian/patches/series index e704e4d..d25714b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -61,6 +61,7 @@ upstream/311296-rand-mktemp.patch upstream/573823-imap_internal_date upstream/542344-dont_fold_From_ +upstream/path_max misc/hyphen-as-minus.patch #misc/manpage-typos.patch misc/smime_keys-manpage.patch diff --git a/debian/patches/upstream/path_max b/debian/patches/upstream/path_max new file mode 100644 index 0000000..7cb34d5 --- /dev/null +++ b/debian/patches/upstream/path_max @@ -0,0 +1,16 @@ +Fixed in hg around 5354:d4ea7f571f10; remove as soon as there's no PATH_MAX in the code anymore. + +--- a/mutt.h ++++ b/mutt.h +@@ -52,6 +52,11 @@ + #include + #endif + ++/* PATH_MAX is undefined on the hurd */ ++#ifndef PATH_MAX ++#define PATH_MAX _POSIX_PATH_MAX ++#endif ++ + #include + #include +