amoralej / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 years ago
Clone

Blame SOURCES/0016-Ticket-47878-Remove-warning-suppression-in-1.3.4.patch

a2f18f
From e0ceac7c48a4cc616f1602d4cc3430a306740021 Mon Sep 17 00:00:00 2001
a2f18f
From: Mark Reynolds <mreynolds@redhat.com>
a2f18f
Date: Mon, 13 Jul 2015 13:12:12 -0400
a2f18f
Subject: [PATCH 16/20] Ticket 47878 - Remove warning suppression in 1.3.4
a2f18f
a2f18f
Description:  Perl 5.16 does not support the warning suppression of
a2f18f
              "smartmatch", but 5.18 does.  RHEL 7 is currently only
a2f18f
              using 5.16, so it needs to be removed from 1.3.4 for now.
a2f18f
a2f18f
https://fedorahosted.org/389/ticket/47878
a2f18f
a2f18f
Reviewed by: nhosoi(Thanks!)
a2f18f
a2f18f
(cherry picked from commit d8b7a3c93692eae229c74ef67f6f608f95eb2eef)
a2f18f
---
a2f18f
 ldap/admin/src/scripts/52updateAESplugin.pl | 2 +-
a2f18f
 1 file changed, 1 insertion(+), 1 deletion(-)
a2f18f
a2f18f
diff --git a/ldap/admin/src/scripts/52updateAESplugin.pl b/ldap/admin/src/scripts/52updateAESplugin.pl
a2f18f
index ae258b6..4225770 100644
a2f18f
--- a/ldap/admin/src/scripts/52updateAESplugin.pl
a2f18f
+++ b/ldap/admin/src/scripts/52updateAESplugin.pl
a2f18f
@@ -6,7 +6,7 @@ use File::Basename;
a2f18f
 use File::Copy;
a2f18f
 use DSUtil qw(debug serverIsRunning);
a2f18f
 
a2f18f
-no warnings 'experimental::smartmatch';
a2f18f
+# no warnings 'experimental::smartmatch';   warning supression available in perl 5.18
a2f18f
 
a2f18f
 #
a2f18f
 # Check if there is a DES plugin and make sure the AES plugin contains the same attributes
a2f18f
-- 
a2f18f
1.9.3
a2f18f