pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56098: fig2dev build fails on MacOS due to missing "endian.h"
The following reply was made to PR pkg/56098; it has been noted by GNATS.
From: Niclas Rosenvik <nros%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/56098: fig2dev build fails on MacOS due to missing
"endian.h"
Date: Thu, 8 Apr 2021 20:54:49 +0200
On Thu, 8 Apr 2021 07:05:00 +0000 (UTC)
dan%alt.md@localhost wrote:
> >Fix:
> $NetBSD$
>
> --- fig2dev/dev/genemf.h.orig 2020-12-17 21:13:53.000000000 +0000
> +++ fig2dev/dev/genemf.h
> @@ -30,7 +30,11 @@
> #include "config.h"
> #endif
>
> +#ifdef __APPLE__
> +#include <machine/endian.h>
> +#else
> #include <endian.h>
> +#endif
>
> typedef unsigned char uchar;
> typedef unsigned short TCHAR;
Upstream has removed the inclusion of endian.h.
https://sourceforge.net/p/mcj/fig2dev/ci/3897c8034f2eecfa99c645f2b8efa400505a9e27/
I have tried to compile with endian.h removed on Linux and NetBSD
without a problem. I will commit a patch with that change if that fix
works for you.
Home |
Main Index |
Thread Index |
Old Index