ports/mail/fetchmail/files/patch-de5f30df
Rene Ladan ddbb0b2377 Fix build by skipping the validation of the XHTML 1.1 document
Mailbox-Names-UTF7.html

PR:		ports/152067
Submitted by:	Matthias Andree [matthias.andree gmx.de]
Approved by:	maintainer
2010-11-14 15:44:43 +00:00

28 lines
847 B
Text

From de5f30df51d15f62717ababcdde98689b2203730 Mon Sep 17 00:00:00 2001
From: Matthias Andree <matthias.andree@gmx.de>
Date: Sat, 6 Nov 2010 11:44:34 +0100
Subject: [PATCH] Skip validation asciidoc-generated file.
---
t.validate-xhtml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/t.validate-xhtml b/t.validate-xhtml
index bf55f4f..a64399a 100755
--- a/t.validate-xhtml
+++ b/t.validate-xhtml
@@ -16,7 +16,10 @@ cat - <<'_EOF' | xmllint 2>/dev/null --nonet --postvalid --noout - || exit 77
_EOF
for i in "${srcdir}"/*.html ; do
- case "$i" in */fetchmail-man.html) continue ;; esac
+ case "$i" in
+ */fetchmail-man.html) continue ;;
+ */Mailbox-Names-UTF7.html) continue ;;
+ esac
xmllint --postvalid --noout "$i" || { e=1 ; fail="$i${fail:+" "}$fail" ; }
done
if [ $e != 0 ] ; then
--
1.6.1