Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
pdsh.29533
Hack-to-work-around-a-generic-type-name-breakag...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Hack-to-work-around-a-generic-type-name-breakage-introduced-by-latest-Slurm.patch of Package pdsh.29533
From: Egbert Eich <eich@suse.com> Date: Thu Mar 2 12:14:47 2023 +0100 Subject: Hack to work around a generic type name breakage introduced by latest Slurm. Patch-mainline: Not yet Git-commit: 4c04b469a7e201ee29a598c4238c287070cac2e6 References: Signed-off-by: Egbert Eich <eich@suse.com> Signed-off-by: Egbert Eich <eich@suse.de> --- src/modules/slurm.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/modules/slurm.c b/src/modules/slurm.c index 5594c4f..48e6dde 100644 --- a/src/modules/slurm.c +++ b/src/modules/slurm.c @@ -44,15 +44,11 @@ /* * SLURM headers need to be included after pdsh header files to * avoid possibly conflicts with the definition of "bool" - * - * Also, Slurm inexplicably exports the "list.h" interface in slurm.h, - * and we must define __list_datatypes_defined here to avoid conflict - * with our internal List datatype. */ -#define __list_datatypes_defined 1 +#define List SlurmList #include <slurm/slurm.h> #include <slurm/slurm_errno.h> - +#undef List #if STATIC_MODULES # define pdsh_module_info slurm_module_info # define pdsh_module_priority slurm_module_priority
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