]> git.pld-linux.org Git - packages/file.git/commitdiff
- added gettext-no-random-translations patch (remove random translations from .mo... auto/th/file-5.39-4
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 3 Nov 2020 20:39:10 +0000 (21:39 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 3 Nov 2020 20:39:10 +0000 (21:39 +0100)
- release 4

file-gettext-no-random-translations.patch [new file with mode: 0644]
file.spec

diff --git a/file-gettext-no-random-translations.patch b/file-gettext-no-random-translations.patch
new file mode 100644 (file)
index 0000000..0b73bbf
--- /dev/null
@@ -0,0 +1,21 @@
+--- file-5.39/magic/Magdir/gnu.orig    2020-05-31 12:34:40.000000000 +0200
++++ file-5.39/magic/Magdir/gnu 2020-11-03 21:13:20.100589010 +0100
+@@ -80,18 +80,6 @@
+ >>&0          ulelong x
+ # translation 0 seems to be often Project-Id with name and version
+ >>>(&-4)      string  x               \b, %s
+-# trans. 1 with bytes >= 1 unlike icoutils-0.31.0\po\en@boldquot.gmo with 1 NL
+->(16.l+8)     ulelong >1
+->>&0          ulelong x
+->>>(&-4)      ubyte   !0x0A
+->>>>&-1               string  x               '%s'
+-# 1 New Line like in tar-1.29\po\de.gmo
+->>>(&-4)      ubyte   =0x0A
+->>>>&0                ubyte   !0x0A
+->>>>>&-1      string  x               '%s'
+-# 2nd New Line like in parted-3.1\po\de.gmo
+->>>>&0                ubyte   =0x0A
+->>>>>&0               string  x               '%s'
+ 0     string          \225\4\22\336   GNU message catalog (big endian),
+ #0    ubelong 0x950412DE              GNU-format message catalog data
index fef4f80c78a1066976cd0902cc871269eb425bda..d2b821f7902799d9dbba4762c6fa7fb871da43a5 100644 (file)
--- a/file.spec
+++ b/file.spec
@@ -30,7 +30,7 @@ Summary(zh_CN.UTF-8): 判定文件类型的工具。
 Summary(zh_TW.UTF-8):  用於決定檔案類型的一個工具程式。
 Name:          file
 Version:       5.39
-Release:       3
+Release:       4
 License:       distributable
 Group:         Applications/File
 Source0:       ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
@@ -43,6 +43,7 @@ Source4:      %{name}-magic.mime-gen.awk
 Patch0:                %{name}-selinux.patch
 Patch1:                searchpath.patch
 Patch2:                automake.patch
+Patch3:                %{name}-gettext-no-random-translations.patch
 Patch4:                name-use-count.patch
 Patch5:                wasm.patch
 URL:           http://www.darwinsys.com/file/
@@ -273,6 +274,7 @@ Wiązania Pythona 3 do biblioteki libmagic.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %patch4 -p1
 %patch5 -p1
 
This page took 0.21311 seconds and 4 git commands to generate.