ports/114334: lynx2-8-6 compile failure on portupgrade -a
Jeffrey Goldberg
jeffrey at goldmark.org
Thu Jul 5 21:50:08 UTC 2007
The following reply was made to PR ports/114334; it has been noted by GNATS.
From: Jeffrey Goldberg <jeffrey at goldmark.org>
To: bug-followup at FreeBSD.org,
David Southwell <david at 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;
More information about the freebsd-ports-bugs
mailing list