2016-08-14 14:49:05 +02:00
|
|
|
--- src/perl.c.orig
|
|
|
|
+++ src/perl.c
|
|
|
|
@@ -2411,7 +2411,13 @@ static int perl_config_loadplugin (pTHX_
|
2011-02-03 02:08:32 +01:00
|
|
|
|
2016-08-14 14:49:05 +02:00
|
|
|
log_debug ("perl_config: Loading Perl plugin \"%s\"", value);
|
2011-02-03 02:08:32 +01:00
|
|
|
load_module (PERL_LOADMOD_NOIMPORT,
|
|
|
|
- newSVpv (module_name, strlen (module_name)), Nullsv);
|
|
|
|
+ newSVpv (module_name, strlen (module_name)),
|
|
|
|
+#if PERL_VERSION >= 10
|
|
|
|
+ newSViv(0)
|
|
|
|
+#else
|
|
|
|
+ Nullsv
|
|
|
|
+#endif
|
|
|
|
+ );
|
|
|
|
return 0;
|
|
|
|
} /* static int perl_config_loadplugin (oconfig_item_it *) */
|
|
|
|
|