Bugzilla – Attachment 42120 Details for
Bug 14759
Replacement for Text::Unaccent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch uses the proposed module - Text::Unaccent::PurePerl
0001-Code-now-uses-Text-Unaccent-PurePerl-instead-of-Text.patch (text/plain), 1.35 KB, created by
Ketan Kulkarni
on 2015-08-31 13:36:32 UTC
(
hide
)
Description:
This patch uses the proposed module - Text::Unaccent::PurePerl
Filename:
MIME Type:
Creator:
Ketan Kulkarni
Created:
2015-08-31 13:36:32 UTC
Size:
1.35 KB
patch
obsolete
>From 4a12aa6b305c48e0c3b9de7aef178fc7ac771ecd Mon Sep 17 00:00:00 2001 >From: Ketan Kulkarni <ketan@carvingit.com> >Date: Mon, 31 Aug 2015 19:05:05 +0530 >Subject: [PATCH] Code now uses Text::Unaccent::PurePerl instead of Text::Unaccent; the latter has dependancy over libiconv > >--- > C4/Installer/PerlDependencies.pm | 4 ++-- > C4/Members.pm | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm >index f7a1bd9..4c1ddb2 100644 >--- a/C4/Installer/PerlDependencies.pm >+++ b/C4/Installer/PerlDependencies.pm >@@ -592,10 +592,10 @@ our $PERL_DEPS = { > 'required' => '0', > 'min_ver' => '0.04', > }, >- 'Text::Unaccent' => { >+ 'Text::Unaccent::PurePerl' => { > 'usage' => 'Core', > 'required' => '1', >- 'min_ver' => '1.08', >+ 'min_ver' => '0.05', > }, > 'HTML::FormatText' => { > 'usage' => 'Core', >diff --git a/C4/Members.pm b/C4/Members.pm >index 91c89f8..2565036 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -38,7 +38,7 @@ use DateTime; > use Koha::Database; > use Koha::DateUtils; > use Koha::Borrower::Debarments qw(IsDebarred); >-use Text::Unaccent qw( unac_string ); >+use Text::Unaccent::PurePerl qw( unac_string ); > use Koha::AuthUtils qw(hash_password); > use Koha::Database; > use Module::Load; >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14759
:
42120
|
96974
|
97099
|
97100
|
97174
|
97175