Subject: pkg/11621: chimera package build error
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/30/2000 20:05:11
>Number:         11621
>Category:       pkg
>Synopsis:       Could not find endian.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 30 20:05:00 PST 2000
>Originator:     Jason R Fink
>Release:        NetBSD-1.4.2
Jason R. Fink <>
System: NetBSD samwise 1.4.2 NetBSD 1.4.2 (GENERIC) #2: Thu Mar 16 00:08:53 PST 2000 sparc

Found this bug in the chimera build:
	In file included from gif.c:54:
	image_endian.h:52: sys/endian.h: No such file or directory

upon further investigation I found endian.h on sparc here:

on my i386 - surprise surprise it  was here:

not exactly sure how to patch this or if the original software author needs
to be made awre of it.
	try to run make in ~/pkgsrc/www/chimera
There is an obvious temporary workaround for people who want to install it:
	cd ~pkgsrc/www/chimera/work/chimera-2.0a19/image

and replace the line:
	#include <sys/endian.h>

	#include <your_arc_here/endian.h>

for example, for my sparc:
	#include <sparc/endian.h>