The devel/tvision 0.8 update change endianess handling by using a header file called "myendian.h" in the tvision source. For some reason, this file doesn't get installed with tvision. But not only that, the system.h file from tvision tries to include it using <myendian.h> which should be instead <tvision/myendian.h>. The file is also misplaced in the distro. The errors reported by the libh build look like this: /usr/local/include/tvision/drawbuf.h:113: myendian.h: No such file or directory Fix: Workaround: use tvision 0.7 Fix: Plan A: (see also plan B below) 1- these diffs go into files/ [files/patch::lib-system.h] 2- [files/patch::lib/Makefile.am] [files/patch::lib-Makefile.in] 4- [files/patch-lib::drawbuf.h] 5- for some odd reason, the myendian.h file is not with the other header files (lib/) but in ./ : 6- finally, the pkg-list needs patching: Plan B: patch system.h to use the old way of doing things: anarcat@lenny[~/src/ports/distfiles]% diff -u tvision-0.7/lib/system.h tvision-0.8/lib/system.h | grep -5 endian */ uchar buttons; }; -#ifdef __FreeBSD__ -#include <machine/endian.h> -#else -#include <endian.h> -#endif +#include <tvision/myendian.h> /** - * This structure stores informations about a key. + * This structure stores information about a key. * @see KeyDownEvent--7nFFF6AhJDFwGQE8NWCLIhbcJ2o9iHHIcPNgMU8mWAZ1SeWA Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- lib/system.h.orig Fri Apr 5 15:25:19 2002 +++ lib/system.h Fri Apr 5 15:25:33 2002 @@ -182,7 +182,7 @@ uchar buttons; }; -#include <myendian.h> +#include <tvision/myendian.h> /** * This structure stores information about a key. How-To-Repeat: cd /usr/ports/misc/libh && make
State Changed From-To: open->closed Committed, thanks!