file/file-5.19-gdbm.patch
Dr. Werner Fink dbb1d2bc11 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
2014-08-19 10:35:12 +00:00

21 lines
944 B
Diff

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