Date: Thu, 5 Jul 2007 21:50:08 GMT From: Jeffrey Goldberg <jeffrey@goldmark.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/114334: lynx2-8-6 compile failure on portupgrade -a Message-ID: <200707052150.l65Lo8ln022506@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/114334; it has been noted by GNATS. From: Jeffrey Goldberg <jeffrey@goldmark.org> To: bug-followup@FreeBSD.org, David Southwell <david@vizion2000.net> Cc: Subject: Re: ports/114334: lynx2-8-6 compile failure on portupgrade -a Date: Thu, 5 Jul 2007 16:40:44 -0500 The problem is that on line 873 of work/lynx2-8-6/src/LYCharSets.c which is #include <entities.h> On my build, that found /usr/local/lib/entities.h which was installed by gd $ pkg_info -W /usr/local/include/entities.h /usr/local/include/entities.h was installed by package gd-2.0.35,1 However, that file does not declare (nor initialize) unicode_entities[] Instead unicode_entities[] is declared and initialized in work/lynx2-8-6/src/chrtrans/entities.h although there is a probably some more proper fix for this, here is the patch I used to fix this --- LYCharSets.c Thu Jul 5 16:35:25 2007 +++ LYCharSets.c-orig Thu Jul 5 16:11:02 2007 @@ -870,7 +870,7 @@ */ UCode_t HTMLGetEntityUCValue(const char *name) { -#include "chrtrans/entities.h" +#include <entities.h> UCode_t value = 0; size_t i, high, low;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707052150.l65Lo8ln022506>