Friday, November 01, 2019

Re: unbreak devel/gmake on armv7

On Fri, Nov 01, 2019 at 08:08:59AM +0100, Matthieu Herrb wrote:
> Hi,
>
> There is an obvious typo in patches/patch-job_c. I don't know why arm
> used the bogus version and not other arches (gcc vs clang or other) ?
> That seems suspicious to me too, but anyways, obvious fix:
>
> ok ?
>
> Index: patches/patch-job_c
> ===================================================================
> RCS file: /cvs/OpenBSD/ports/devel/gmake/patches/patch-job_c,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-job_c
> --- patches/patch-job_c 13 Sep 2019 16:59:34 -0000 1.2
> +++ patches/patch-job_c 1 Nov 2019 06:34:44 -0000
> @@ -46,7 +46,7 @@ Index: job.c
> +static void
> +unblock_sigs ()
> +{
> -+ sigsetmask (siggetmask (0) & ~fatal_signal_mask)
> ++ sigsetmask (siggetmask (0) & ~fatal_signal_mask);
> +}
> +
> +void
>
> --
> Matthieu Herrb

Ditch that more is needed.

ld: error: undefined symbol: siggetmask
>> referenced by job.c
>> job.o:(reap_children)

--
Matthieu Herrb

No comments:

Post a Comment