Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Update
ganglia
add_unknown_arch.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File add_unknown_arch.patch of Package ganglia
--- ./libmetrics/linux/metrics.c.orig 2018-03-29 17:05:23.884576752 +0200 +++ ./libmetrics/linux/metrics.c 2018-03-29 17:07:28.228537714 +0200 @@ -593,39 +593,30 @@ #ifdef __i386__ snprintf(val.str, MAX_G_STRING_SIZE, "x86"); -#endif -#ifdef __x86_64__ +#elif __x86_64__ snprintf(val.str, MAX_G_STRING_SIZE, "x86_64"); -#endif -#ifdef __ia64__ +#elif __ia64__ snprintf(val.str, MAX_G_STRING_SIZE, "ia64"); -#endif -#ifdef __sparc__ +#elif __sparc__ snprintf(val.str, MAX_G_STRING_SIZE, "sparc"); -#endif -#ifdef __alpha__ +#elif __alpha__ snprintf(val.str, MAX_G_STRING_SIZE, "alpha"); -#endif -#ifdef __powerpc__ +#elif __powerpc__ snprintf(val.str, MAX_G_STRING_SIZE, "powerpc"); -#endif -#ifdef __m68k__ +#elif __m68k__ snprintf(val.str, MAX_G_STRING_SIZE, "m68k"); -#endif -#ifdef __mips__ +#elif __mips__ snprintf(val.str, MAX_G_STRING_SIZE, "mips"); -#endif -#ifdef __arm__ +#elif __arm__ snprintf(val.str, MAX_G_STRING_SIZE, "arm"); -#endif -#ifdef __aarch64__ +#elif __aarch64__ snprintf(val.str, MAX_G_STRING_SIZE, "aarch64"); -#endif -#ifdef __hppa__ +#elif __hppa__ snprintf(val.str, MAX_G_STRING_SIZE, "hppa"); -#endif -#ifdef __s390__ +#elif __s390__ snprintf(val.str, MAX_G_STRING_SIZE, "s390"); +#else + snprintf(val.str, MAX_G_STRING_SIZE, "unknown"); #endif return val;
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