[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix M4 build on DragonFly BSD
From: |
Eric Blake |
Subject: |
Re: [PATCH] Fix M4 build on DragonFly BSD |
Date: |
Tue, 05 Nov 2013 09:03:17 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
[adding bug-gnulib]
On 11/05/2013 08:55 AM, GW wrote:
> M4 does not build "as is" on DragonFly BSD. However, the fix we found and
> used
> for a while at DragonFly is actually fairly simple:
>
>
> --- lib/fpending.h.orig 2013-11-05 16:23:53.676412000 +0100
> +++ lib/fpending.h 2013-11-05 16:25:14.837659000 +0100
> @@ -24,6 +24,8 @@
> # include <stdio_ext.h>
> #endif
>
> +#ifndef __DragonFly__
> #ifndef __fpending
> size_t __fpending (FILE *);
> #endif
> +#endif
Thanks; but this needs to be patched upstream in gnulib (the next m4
release will pick up the gnulib fix). Furthermore, your patch isn't
quite right; we need to figure out WHY your build is failing if we
redeclare __fpending on DragonFly, rather than just #ifdef'ing it out.
Can you post the actual compiler message?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH] Fix M4 build on DragonFly BSD,
Eric Blake <=
- Re: [PATCH] Fix M4 build on DragonFly BSD, GW, 2013/11/05
- Re: [PATCH] Fix M4 build on DragonFly BSD, Eric Blake, 2013/11/05
- Re: [PATCH] Fix M4 build on DragonFly BSD, GW, 2013/11/05
- Re: [PATCH] Fix M4 build on DragonFly BSD, Eric Blake, 2013/11/05
- Re: [PATCH] Fix M4 build on DragonFly BSD, GW, 2013/11/05
- [PATCH] fpending: fix regression on DragonFly BSD, Eric Blake, 2013/11/08
- Re: [PATCH] fpending: fix regression on DragonFly BSD, Paul Eggert, 2013/11/08
- Re: [PATCH] fpending: fix regression on DragonFly BSD, Eric Blake, 2013/11/08
- Re: [PATCH] fpending: fix regression on DragonFly BSD, Robin Hahling, 2013/11/08