dev-python/pyfeyn: cleaning old
[gentoo.git] / dev-perl / SpeedyCGI / files / SpeedyCGI-2.22-speedy_unsafe_putenv.patch
1 Author: banb@yahoo.co.jp
2 Description: Debian #418447, CPAN #13521
3 http://rt.cpan.org/Public/Bug/Display.html?id=13521
4 --- a/src/speedy_backend_main.c
5 +++ b/src/speedy_backend_main.c
6 @@ -176,6 +176,10 @@
7          DIE_QUIET("Cannot allocate perl");
8      perl_construct(my_perl);
9  
10 +#if defined(PL_use_safe_putenv) || defined(PL_Guse_safe_putenv)
11 +    PL_use_safe_putenv = 0;
12 +#endif
13 +
14  #ifdef SPEEDY_DEBUG
15      dont_fork = getenv("SPEEDY_NOPARENT") != NULL;
16  #endif