]> Git Repo - buildroot-mgba.git/blob - package/makedumpfile/0002-PATCH-Define-PN_XNUM-if-missing.patch
package/makedumpfile: new package
[buildroot-mgba.git] / package / makedumpfile / 0002-PATCH-Define-PN_XNUM-if-missing.patch
1 From: Petr Tesarik <[email protected]>
2 Subject: [PATCH] Define PN_XNUM if missing
3 Upstream: never, build fix for old distros
4
5 Older elfutils did not define this constant.
6
7 Signed-off-by: Petr Tesarik <[email protected]>
8 Signed-off-by: Alexander Egorenkov <[email protected]>
9 ---
10  elf_info.h |    4 ++++
11  1 file changed, 4 insertions(+)
12
13 --- a/elf_info.h
14 +++ b/elf_info.h
15 @@ -19,6 +19,10 @@
16  #include <elf.h>
17  #include <sys/types.h>
18  
19 +#ifndef PN_XNUM
20 +#define PN_XNUM                0xffff
21 +#endif
22 +
23  #define KEXEC_CORE_NOTE_NAME "CORE"
24  #define KEXEC_CORE_NOTE_NAME_BYTES sizeof(KEXEC_CORE_NOTE_NAME)
25  
This page took 0.023816 seconds and 4 git commands to generate.