From 664cb50695fd2bfb3a637fae5a9c6cfcf45a2cf7 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 16 Aug 2014 00:40:32 -0400 Subject: [PATCH] Add squirrelmail patch --- .../squirrelmail-1.5.1-preg_split.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 stage5/patches/common/squirrelmail-1.5.1-preg_split.patch diff --git a/stage5/patches/common/squirrelmail-1.5.1-preg_split.patch b/stage5/patches/common/squirrelmail-1.5.1-preg_split.patch new file mode 100644 index 0000000..932e70d --- /dev/null +++ b/stage5/patches/common/squirrelmail-1.5.1-preg_split.patch @@ -0,0 +1,19 @@ +Submitted By: Hugo Villeneuve +Date: 2009-12-12 +Initial Package Version: squirrelmail-1.5.1 +Origin: n/a +Description: Fix warning: + + +diff -Naur squirrelmail.orig/functions/imap_messages.php squirrelmail.new/functions/imap_messages.php +--- squirrelmail.orig/functions/imap_messages.php 2006-02-12 13:21:50.000000000 -0500 ++++ squirrelmail.new/functions/imap_messages.php 2009-12-12 16:20:18.000000000 -0500 +@@ -923,7 +923,7 @@ + if ($read) { + if (preg_match('/.+FLAGS\s\((.*)\)\s/AUi',$read[0],$regs)) { + if (trim($regs[1])) { +- $flags = preg_split('/ /', $regs[1],-1,'PREG_SPLIT_NI_EMPTY'); ++ $flags = preg_split('/ /', $regs[1],-1,PREG_SPLIT_NO_EMPTY); + } + } + } else { -- 2.20.1