Add new magic format for next ncurses 6.1 compiled format
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=168
This commit is contained in:
parent
ef80cb1452
commit
be25e6b67d
24
file-5.32-ncurses-6.1.patch
Normal file
24
file-5.32-ncurses-6.1.patch
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
magic/Magdir/terminfo | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
--- magic/Magdir/terminfo
|
||||
+++ magic/Magdir/terminfo 2018-01-22 10:32:38.596762352 +0000
|
||||
@@ -19,6 +19,17 @@
|
||||
# no extension
|
||||
#!:ext
|
||||
#
|
||||
+#------------------------------------------------------------------------------
|
||||
+# The following was added for ncurses6 development:
|
||||
+#------------------------------------------------------------------------------
|
||||
+#
|
||||
+0 string \036\002
|
||||
+# imitate the legacy compiled-format, to get the entry-name printed
|
||||
+>16 ubyte >32
|
||||
+# namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0.4.1"
|
||||
+>>12 regex \^[a-zA-Z0-9][a-zA-Z0-9.][^|]* Compiled 32-bit terminfo entry "%-s"
|
||||
+!:mime application/x-terminfo2
|
||||
+#
|
||||
# While the compiled terminfo uses little-endian format irregardless of
|
||||
# platform, SystemV screen dumps do not. They came later, and that detail was
|
||||
# overlooked.
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 10:37:39 UTC 2018 - werner@suse.de
|
||||
|
||||
- Add patch file-5.32-ncurses-6.1.patch to support extend magic
|
||||
format for new ncurses 6.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 8 00:06:58 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package file
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -62,6 +62,7 @@ Patch35: file-5.24-nitpick.dif
|
||||
Patch36: file-5.15-clear-invalid.patch
|
||||
Patch37: file-secure_getenv.patch
|
||||
Patch39: file-5.28-btrfs-image.dif
|
||||
Patch40: file-5.32-ncurses-6.1.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _sysconfdir /etc
|
||||
%global _miscdir %{_datadir}/misc
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-magic
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
Loading…
Reference in New Issue
Block a user