SHA256
3
0
forked from pool/file

Accepting request 176585 from home:Andreas_Schwab:Factory

- file-5.13-whitespace.patch: remove extra whitespace in ELF magic, breaks
  libtool

OBS-URL: https://build.opensuse.org/request/show/176585
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=77
This commit is contained in:
Dr. Werner Fink 2013-05-26 09:33:29 +00:00 committed by Git OBS Bridge
parent 449fdf5a68
commit 821c41bb83
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,16 @@
Index: file-5.14/magic/Magdir/elf
===================================================================
--- file-5.14.orig/magic/Magdir/elf
+++ file-5.14/magic/Magdir/elf
@@ -189,9 +189,9 @@
>4 byte 1 32-bit
>4 byte 2 64-bit
>5 byte 0 invalid byte order
->5 byte 1 LSB
+>5 byte 1 LSB
>>0 use elf-le
->5 byte 2 MSB
+>5 byte 2 MSB
>>0 use \^elf-le
# Up to now only 0, 1 and 2 are defined; I've seen a file with 0x83, it seemed
# like proper ELF, but extracting the string had bad results.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun May 26 08:01:55 UTC 2013 - schwab@suse.de
- file-5.13-whitespace.patch: remove extra whitespace in ELF magic, breaks
libtool
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 29 06:56:37 UTC 2013 - crrodriguez@opensuse.org Fri Mar 29 06:56:37 UTC 2013 - crrodriguez@opensuse.org

View File

@ -60,6 +60,7 @@ Patch32: file-5.07-clicfs.dif
Patch33: file-5.12-ocloexec.patch Patch33: file-5.12-ocloexec.patch
Patch34: file-5.12-endian.patch Patch34: file-5.12-endian.patch
Patch35: file-5.12-nitpick.dif Patch35: file-5.12-nitpick.dif
Patch36: file-5.13-whitespace.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc %global _sysconfdir /etc
%global _miscdir %{_datadir}/misc %global _miscdir %{_datadir}/misc
@ -124,6 +125,7 @@ to develop applications that require the magic "file" interface.
%patch33 -p0 -b .clexe %patch33 -p0 -b .clexe
%patch34 -p0 -b .endian %patch34 -p0 -b .endian
%patch35 -p0 -b .nitpick %patch35 -p0 -b .nitpick
%patch36 -p1
%patch -b .0 %patch -b .0
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in