Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Ports
libkdumpfile
libkdumpfile-add-EM_AARCH64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libkdumpfile-add-EM_AARCH64.patch of Package libkdumpfile
From: Petr Tesarik <ptesarik@suse.cz> Subject: Add definition of EM_AARCH64 if missing Patch-mainline: not yet Older distributions do not define EM_AARCH64 (because that architecture was not even planned at that time), so compilation fails because of an undefined symbol. Since this symbol's value is well-known, let's add it if needed. Signed-off-by: Petr Tesarik <ptesarik@suse.cz> --- elfdump.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/elfdump.c +++ b/elfdump.c @@ -36,6 +36,11 @@ #include <errno.h> #include <elf.h> +/* This definition is missing from older version of <elf.h> */ +#ifndef EM_AARCH64 +# define EM_AARCH64 183 +#endif + static const struct format_ops xen_dom0_ops; static const struct format_ops xen_domU_ops;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor