Blame SOURCES/ExtUtils-MakeMaker-7.22-Unbundle-Encode-Locale.patch

3970c2
From 04664fb41a3eaa5bc688c4095107486f8c6d2f4c Mon Sep 17 00:00:00 2001
3970c2
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
3970c2
Date: Mon, 27 Oct 2014 16:55:18 +0100
3970c2
Subject: [PATCH] Unbundle Encode::Locale
3970c2
MIME-Version: 1.0
3970c2
Content-Type: text/plain; charset=UTF-8
3970c2
Content-Transfer-Encoding: 8bit
3970c2
3970c2
Signed-off-by: Petr Písař <ppisar@redhat.com>
3970c2
---
3970c2
 lib/ExtUtils/MakeMaker.pm | 6 +++---
3970c2
 1 file changed, 3 insertions(+), 3 deletions(-)
3970c2
3970c2
diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm
3970c2
index 04ec5a3..759c079 100644
3970c2
--- a/lib/ExtUtils/MakeMaker.pm
3970c2
+++ b/lib/ExtUtils/MakeMaker.pm
3970c2
@@ -10,8 +10,8 @@ use ExtUtils::MakeMaker::Config;
3970c2
 use version; # ensure we always have version.pm
3970c2
 use Carp;
3970c2
 use File::Path;
3970c2
-my $CAN_DECODE = eval { require ExtUtils::MakeMaker::Locale; }; # 2 birds, 1 stone
3970c2
-eval { ExtUtils::MakeMaker::Locale::reinit('UTF-8') }
3970c2
+my $CAN_DECODE = eval { require Encode::Locale; }; # 2 birds, 1 stone
3970c2
+eval { Encode::Locale::reinit('UTF-8') }
3970c2
   if $CAN_DECODE and Encode::find_encoding('locale')->name eq 'ascii';
3970c2
 
3970c2
 our $Verbose = 0;       # exported
3970c2
-- 
3970c2
1.9.3
3970c2