[alpine-aports] [PATCH] Re: [alpine-devel] gpm patch bug

Isaac Dunham
Message ID
Sender timestamp
DKIM signature
Download raw message
On Fri, Feb 12, 2016 at 01:07:42AM +0100, Szabolcs Nagy wrote:
> it seems this patch leaves .sa_flags uninitialized:
> http://git.alpinelinux.org/cgit/aports/plain/testing/gpm/03-gpmroot.patch
> either the struct should be zero initialized or do something like
> #ifndef SA_INTERRUPT
> #define SA_INTERRUPT 0
> #endif

You are correct; I was not paying enough attention, just trying to get
it building.

Here's a patch to fix it, though I think that upgrading to the version in
github.com/telmich/gpm is probably the better solution.

Isaac Dunham