From 39fd6151e92c4bd226f9418de4f722be4e5fe1e3 Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Tue, 20 Jul 2021 10:56:59 +0200 Subject: [PATCH] libs: file: magic: remove "u" from pattern This backports an upstream fix for the following warning: Warning: Unparsable number `xu \b, dcrypt version %d' Signed-off-by: Martin Schiller --- .../100-magic-remove-u-from-pattern.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libs/file/patches/100-magic-remove-u-from-pattern.patch diff --git a/libs/file/patches/100-magic-remove-u-from-pattern.patch b/libs/file/patches/100-magic-remove-u-from-pattern.patch new file mode 100644 index 000000000..a69e65f32 --- /dev/null +++ b/libs/file/patches/100-magic-remove-u-from-pattern.patch @@ -0,0 +1,24 @@ +From 6b34436ac766dae64749b8d14f18c6910be40131 Mon Sep 17 00:00:00 2001 +From: Christos Zoulas +Date: Mon, 5 Apr 2021 16:36:14 +0000 +Subject: [PATCH] remove "u" from the pattern (Joerg Jenderek) + +--- + magic/Magdir/mail.news | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/magic/Magdir/mail.news ++++ b/magic/Magdir/mail.news +@@ -1,5 +1,5 @@ + #------------------------------------------------------------------------------ +-# $File: mail.news,v 1.26 2021/03/21 14:37:03 christos Exp $ ++# $File: mail.news,v 1.27 2021/04/05 16:36:14 christos Exp $ + # mail.news: file(1) magic for mail and news + # + # Unfortunately, saved netnews also has From line added in some news software. +@@ -81,4 +81,4 @@ + # File format spec: https://wiki.dovecot.org/Design/Dcrypt/#File_format + # From: Stephen Gildea + 0 string CRYPTED\003\007 Dovecot encrypted message +->9 byte xu \b, dcrypt version %d ++>9 byte x \b, dcrypt version %d