From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 8 23:30:07 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8E7E1065672 for ; Mon, 8 Nov 2010 23:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A8B728FC22 for ; Mon, 8 Nov 2010 23:30:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA8NU7X2058645 for ; Mon, 8 Nov 2010 23:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA8NU7Cw058643; Mon, 8 Nov 2010 23:30:07 GMT (envelope-from gnats) Resent-Date: Mon, 8 Nov 2010 23:30:07 GMT Resent-Message-Id: <201011082330.oA8NU7Cw058643@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Andree Received: from apollo.emma.line.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 2A8CF1065670; Mon, 8 Nov 2010 23:26:26 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mandree by apollo.emma.line.org with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1PFb6X-0000dU-7v; Tue, 09 Nov 2010 00:26:25 +0100 Message-Id: Date: Tue, 09 Nov 2010 00:26:25 +0100 From: Matthias Andree Sender: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: chalpin@cs.wisc.edu Subject: ports/152067: [PATCH] mail/fetchmail: unbreak build with certain XHTML DTD installs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 23:30:08 -0000 >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 +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: