Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP6
collectd
collectd-fix_broken_perl-5.10.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File collectd-fix_broken_perl-5.10.patch of Package collectd
diff --git a/src/perl.c b/src/perl.c index 8df8fd4..94e21d2 100644 --- a/src/perl.c +++ b/src/perl.c @@ -2516,7 +2516,12 @@ static int perl_config_loadplugin(pTHX_ oconfig_item_t *ci) { log_debug("perl_config: Loading Perl plugin \"%s\"", value); load_module(PERL_LOADMOD_NOIMPORT, newSVpv(module_name, strlen(module_name)), - Nullsv); +#if PERL_VERSION >= 10 + newSViv(0) +#else + Nullsv +#endif + ); return 0; } /* static int perl_config_loadplugin (oconfig_item_it *) */
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