aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2021-07-20 10:56:59 +0200
committerMartin Schiller <ms@dev.tdt.de>2021-07-20 11:25:51 +0200
commit39fd6151e92c4bd226f9418de4f722be4e5fe1e3 (patch)
treee3d2e9a8968a24f9f0703d7233c693b4ed8c365d /libs
parente7aab656eaa376129db49a966a2b81ce15a12459 (diff)
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 <ms@dev.tdt.de>
Diffstat (limited to 'libs')
-rw-r--r--libs/file/patches/100-magic-remove-u-from-pattern.patch24
1 files changed, 24 insertions, 0 deletions
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 <christos@zoulas.com>
+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