[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>
Subject: Re: pkg/56098: fig2dev build fails on MacOS due to missing
Date: Thu, 8 Apr 2021 20:54:49 +0200
On Thu, 8 Apr 2021 07:05:00 +0000 (UTC)
> --- fig2dev/dev/genemf.h.orig 2020-12-17 21:13:53.000000000 +0000
> +++ fig2dev/dev/genemf.h
> @@ -30,7 +30,11 @@
> #include "config.h"
> +#ifdef __APPLE__
> +#include <machine/endian.h>
> #include <endian.h>
> typedef unsigned char uchar;
> typedef unsigned short TCHAR;
Upstream has removed the inclusion of endian.h.
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.
Main Index |
Thread Index |