Date: Tue, 09 Nov 2010 00:26:25 +0100 From: Matthias Andree <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: chalpin@cs.wisc.edu Subject: ports/152067: [PATCH] mail/fetchmail: unbreak build with certain XHTML DTD installs Message-ID: <E1PFb6X-0000dU-7v@apollo.emma.line.org> Resent-Message-ID: <201011082330.oA8NU7Cw058643@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 152067 >Category: ports >Synopsis: [PATCH] mail/fetchmail: unbreak build with certain XHTML DTD installs >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 08 23:30:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 8.1-STABLE amd64 >Organization: >Environment: System: FreeBSD apollo.emma.line.org 8.1-STABLE FreeBSD 8.1-STABLE #36: Sun Nov 7 16:50:35 CET >Description: Hi Corey, The patch included below skips validating the XHTML 1.1 document Mailbox-Names-UTF7.html. Validation fails if libxml2 and the XHTML 1.0 DTD are installed, but the XHTML 1.1 DTD (textproc/xhtml-11) is either missing, or older than 1.1.20070216_1, and breaks the build. Added file(s): - files/patch-de5f30df Port maintainer (chalpin@cs.wisc.edu) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- fetchmail-6.3.18.patch begins here --- Index: distinfo =================================================================== RCS file: /home/ncvs/ports/mail/fetchmail/distinfo,v retrieving revision 1.137 diff -u -u -r1.137 distinfo --- distinfo 25 Oct 2010 07:15:38 -0000 1.137 +++ distinfo 8 Nov 2010 23:21:54 -0000 @@ -1,3 +1,2 @@ -MD5 (fetchmail-6.3.18.tar.bz2) = e01377cf2751465c509c39029e8da92b SHA256 (fetchmail-6.3.18.tar.bz2) = cd916c8409bfbf6c869a2892b429f6d6cc6270072a138356c091c2992474faaf SIZE (fetchmail-6.3.18.tar.bz2) = 1683949 Index: files/patch-de5f30df =================================================================== RCS file: files/patch-de5f30df diff -N files/patch-de5f30df --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-de5f30df 6 Nov 2010 10:44:34 -0000 @@ -0,0 +1,28 @@ +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 + --- fetchmail-6.3.18.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PFb6X-0000dU-7v>