8
0
Files
apache2-mod_perl/patch-PL_uid.diff
Factory Maintainer 4b2e5e1490 Accepting request 123062 from devel:languages:perl
- update to 2.0.6
 +Set the -apxs argument correctly when building from mod_perl.
  [Steve Hay]
 
 +Doc spelling fix
  [Nicholas Bamber]
 +Add Apache-Test 1.34 dependency.
  [Phred]

OBS-URL: https://build.opensuse.org/request/show/123062
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_perl?expand=0&rev=34
2012-06-01 09:57:01 +00:00

21 lines
539 B
Diff

Index: src/modules/perl/modperl_perl.c
===================================================================
--- src/modules/perl/modperl_perl.c 2012-05-21 10:06:24.000000000 +0000
+++ src/modules/perl/modperl_perl.c 2012-05-21 10:08:56.000000000 +0000
@@ -101,6 +101,7 @@
{
sv_setiv(GvSV(gv_fetchpv("$", TRUE, SVt_PV)), ids->pid);
+#if !MP_PERL_VERSION_AT_LEAST(5, 16, 0)
#ifndef WIN32
PL_uid = ids->uid;
PL_euid = ids->euid;
@@ -110,6 +111,7 @@
#ifdef MP_MAINTAIN_PPID
PL_ppid = ids->ppid;
#endif
+#endif
}