Accepting request 245157 from home:pgajdos
- correctly identify GDBM files created by libgdbm4 [bnc#888308] * add file-5.19-gdbm.patch OBS-URL: https://build.opensuse.org/request/show/245157 OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=104
This commit is contained in:
parent
82908c69bc
commit
dbb1d2bc11
20
file-5.19-gdbm.patch
Normal file
20
file-5.19-gdbm.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Index: magic/Magdir/database
|
||||
===================================================================
|
||||
--- magic/Magdir/database.orig 2014-06-03 21:17:27.000000000 +0200
|
||||
+++ magic/Magdir/database 2014-08-18 14:40:57.296931686 +0200
|
||||
@@ -9,9 +9,13 @@
|
||||
# GDBM magic numbers
|
||||
# Will be maintained as part of the GDBM distribution in the future.
|
||||
# <downsj@teeny.org>
|
||||
-0 belong 0x13579ace GNU dbm 1.x or ndbm database, big endian
|
||||
+0 belong 0x13579acd GNU dbm 1.x or ndbm database, big endian, 32-bit
|
||||
!:mime application/x-gdbm
|
||||
-0 lelong 0x13579ace GNU dbm 1.x or ndbm database, little endian
|
||||
+0 lelong 0x13579acd GNU dbm 1.x or ndbm database, little endian, 32-bit
|
||||
+!:mime application/x-gdbm
|
||||
+0 belong 0x13579acf GNU dbm 1.x or ndbm database, big endian, 64-bit
|
||||
+!:mime application/x-gdbm
|
||||
+0 lelong 0x13579acf GNU dbm 1.x or ndbm database, little endian, 64-bit
|
||||
!:mime application/x-gdbm
|
||||
0 string GDBM GNU dbm 2.x database
|
||||
!:mime application/x-gdbm
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 19 09:30:38 UTC 2014 - pgajdos@suse.com
|
||||
|
||||
- correctly identify GDBM files created by libgdbm4 [bnc#888308]
|
||||
* add file-5.19-gdbm.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 17:05:34 UTC 2014 - werner@suse.de
|
||||
|
||||
|
@ -63,6 +63,7 @@ Patch34: file-5.18-endian.patch
|
||||
Patch35: file-5.12-nitpick.dif
|
||||
Patch36: file-5.15-clear-invalid.patch
|
||||
Patch37: file-secure_getenv.patch
|
||||
Patch38: file-5.19-gdbm.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _sysconfdir /etc
|
||||
%global _miscdir %{_datadir}/misc
|
||||
@ -129,6 +130,7 @@ to develop applications that require the magic "file" interface.
|
||||
%patch35 -p0 -b .nitpick
|
||||
%patch36 -p1 -b .clear
|
||||
%patch37 -p1 -b .getenv
|
||||
%patch38 -p0 -b .gdbm
|
||||
%patch -b .0
|
||||
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user