mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-perl/Apache-SizeLimit: remove unused patch.
Closes: https://github.com/gentoo/gentoo/pull/2272 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
committed by
Patrice Clement
parent
cfa5e9e972
commit
eb7f0f0db2
@@ -1,25 +0,0 @@
|
||||
From 6b1b60546ffca416a65d047a1c0d5d2b610b4dac Mon Sep 17 00:00:00 2001
|
||||
From: Christian Ruppert <idl0r@gentoo.org>
|
||||
Date: Fri, 25 Mar 2011 17:42:54 +0100
|
||||
Subject: [PATCH] Fix Linux::Smaps detection to *not* die if /proc/self/smaps doesn't exist
|
||||
|
||||
---
|
||||
lib/Apache/SizeLimit/Core.pm | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/lib/Apache/SizeLimit/Core.pm b/lib/Apache/SizeLimit/Core.pm
|
||||
index 5942bc8..f2fbac4 100644
|
||||
--- a/lib/Apache/SizeLimit/Core.pm
|
||||
+++ b/lib/Apache/SizeLimit/Core.pm
|
||||
@@ -143,7 +143,7 @@ BEGIN {
|
||||
|
||||
*_platform_getppid = \&_linux_getppid;
|
||||
|
||||
- if (eval { require Linux::Smaps } && Linux::Smaps->new($$)) {
|
||||
+ if (eval { require Linux::Smaps && Linux::Smaps->new($$) }) {
|
||||
$USE_SMAPS = 1;
|
||||
*_platform_check_size = \&_linux_smaps_size_check;
|
||||
}
|
||||
--
|
||||
1.7.3.4
|
||||
|
||||
Reference in New Issue
Block a user