From ae76c2e7c52a33819bc29a7dd30531773fbc10fe Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Oct 04 2017 15:17:44 +0000
Subject: Adapt to changes in JSON-PP-0.92


---

diff --git a/SQL-Translator-0.11021-Adapt-tests-to-JSON-PP-2.92.patch 
b/SQL-Translator-0.11021-Adapt-tests-to-JSON-PP-2.92.patch
index 9e21636..9d847ff 100644
--- a/SQL-Translator-0.11021-Adapt-tests-to-JSON-PP-2.92.patch
+++ b/SQL-Translator-0.11021-Adapt-tests-to-JSON-PP-2.92.patch
@@ -165,7 +165,7 @@ index 0b063e2..9ef4e86 100644
  }
  JSON
 +use JSON;
-+if (JSON->is_pp && JSON->VERSION < 2.91_01) {
++if (JSON->is_pp && JSON::PP->VERSION < 2.91_01) {
 +    # JSON-PP-2.91_01 fixed numeric value detection, CPAN RT#121901
 +    $json_string =~ s/("order" : )(\d+)(,?)/$1"$2"$3/g;
 +}


        
https://src.fedoraproject.org/rpms/perl-SQL-Translator/c/ae76c2e7c52a33819bc29a7dd30531773fbc10fe?branch=f26
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to