Date: 8 Jul 2002 12:00:31 -0000 From: Stanislav Grozev <tacho@factline.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/40335: www/tidy is missing sys/types.h, thus not working on -current Message-ID: <20020708120031.99834.qmail@daemonz.org>
next in thread | raw e-mail | index | archive | help
>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 <sys/types.h> 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 <sys/types.h> + /* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020708120031.99834.qmail>