sys-boot/elilo: fix build failure on ia64 against gnu-efi-3.0.6
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 21 Apr 2018 19:09:51 +0000 (20:09 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 21 Apr 2018 19:10:09 +0000 (20:10 +0100)
commitb1cc70ce5c810fb85684ea8f681465a20546c0c8
treed7818b5d3f6e595c326a540ceb98a587fb76a48f
parent91ceaef63a9a0768ffe6e130490915df7c3a77e7
sys-boot/elilo: fix build failure on ia64 against gnu-efi-3.0.6

Disambiguate setpjmp()/longjmp()/jmp_buf implementation across
elilo copy and gnu-efi-3.0.6.

To avoid behaviour change I'm keeping elilo's implementation for now
as the jmp_buf passing ABI is slightly different across the two.

```
  setjmp.h:25:14: error: conflicting types for 'jmp_buf'
   typedef long jmp_buf[_JBLEN] __attribute__ ((aligned (16)));
                ^~~~~~~
  In file included from /usr/include/efi/efisetjmp.h:5:0,
                   from /usr/include/efi/efi.h:60,
                   from gzip.c:29:
  /usr/include/efi/ia64/efisetjmp_arch.h:45:23: note: previous
    declaration of 'jmp_buf' was here
   } ALIGN(JMPBUF_ALIGN) jmp_buf;
                         ^~~~~~~
```

Reported-by: Stanton Arch
Package-Manager: Portage-2.3.28, Repoman-2.3.9
sys-boot/elilo/elilo-3.16-r2.ebuild [new file with mode: 0644]
sys-boot/elilo/files/elilo-3.16-gnu-efi-3.0.6-ia64.patch [new file with mode: 0644]