summaryrefslogtreecommitdiff
path: root/mail/sympa/patches/patch-src_lib_Sympa_Session.pm
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sympa/patches/patch-src_lib_Sympa_Session.pm')
-rw-r--r--mail/sympa/patches/patch-src_lib_Sympa_Session.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/sympa/patches/patch-src_lib_Sympa_Session.pm b/mail/sympa/patches/patch-src_lib_Sympa_Session.pm
new file mode 100644
index 00000000000..eaba6ba3151
--- /dev/null
+++ b/mail/sympa/patches/patch-src_lib_Sympa_Session.pm
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_lib_Sympa_Session.pm,v 1.1 2015/09/26 14:56:10 bouyer Exp $
+Fix perl 5.22 waring (which is fatal here)
+
+--- ./src/lib/Sympa/Session.pm.orig 2015-09-25 23:38:08.000000000 +0200
++++ ./src/lib/Sympa/Session.pm 2015-09-25 23:39:03.000000000 +0200
+@@ -132,7 +132,7 @@
+ my $sdm = Sympa::DatabaseManager->instance;
+
+ ## Load existing session.
+- if ($cookie and $cookie =~ /^\d{,16}$/) {
++ if ($cookie and $cookie =~ /^\d{16}$/) {
+ ## Compatibility: session by older releases of Sympa.
+ $id_session = $cookie;
+ $is_old_session = 1;