From owner-freebsd-ports Mon Jul 8 5: 0:18 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BCCC37B400 for ; Mon, 8 Jul 2002 05:00:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0375B43E09 for ; Mon, 8 Jul 2002 05:00:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g68C09JU090147 for ; Mon, 8 Jul 2002 05:00:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g68C09qE090146; Mon, 8 Jul 2002 05:00:09 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 691ED37B401 for ; Mon, 8 Jul 2002 04:58:37 -0700 (PDT) Received: from daemonz.org (TK212017094178.teleweb.at [212.17.94.178]) by mx1.FreeBSD.org (Postfix) with SMTP id 7BF2143E42 for ; Mon, 8 Jul 2002 04:58:35 -0700 (PDT) (envelope-from tacho@daemonz.org) Received: (qmail 99835 invoked by uid 1001); 8 Jul 2002 12:00:31 -0000 Message-Id: <20020708120031.99834.qmail@daemonz.org> Date: 8 Jul 2002 12:00:31 -0000 From: Stanislav Grozev Reply-To: Stanislav Grozev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40335: www/tidy is missing sys/types.h, thus not working on -current Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40335 >Category: ports >Synopsis: www/tidy is missing sys/types.h, thus not working on -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 08 05:00:09 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Stanislav Grozev >Release: FreeBSD 4.6-STABLE i386 >Organization: me and myself >Environment: System: FreeBSD meerkat.dungeon 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jun 27 17:10:37 CEST 2002 root@meerkat.dungeon:/usr/obj/usr/src/sys/MEERKAT i386 -CURRENT, shows the bug actually... from ports >Description: html.h from www/tidy is missing an #include thus preventing it from compiling on -current with gcc3.1 >How-To-Repeat: on -current, past gcc3.1: cd /usr/ports/www/tidy make >Fix: replace ports/www/tidy/files/patch-ad with the following patch (addendum to the original patch-ad): --- begin --- --- html.h.orig Fri Aug 4 18:21:05 2000 +++ html.h Mon Jul 8 13:51:10 2002 @@ -4,6 +4,8 @@ See tidy.c for the copyright notice. */ +#include + /* indentation modes */ #define NO_INDENT 0 @@ -380,6 +382,7 @@ void FatalError(char *msg); void FileError(FILE *fp, const char *file); +int FileExists(const char *file); Node *GetToken(Lexer *lexer, uint mode); @@ -758,6 +761,7 @@ extern Bool Word2000; extern Bool Emacs; /* sasdjb 01May00 GNU Emacs error output format */ extern Bool LiteralAttribs; +extern Bool PreserveEntities; /* Parser methods for tags */ --- end --- with this patch tidy compiles once again on current. the patch doesn't affect building on stable, thus it's not conditioned out... >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message