Accepting request 233200 from home:elvigia:branches:Base:System

- file-secure_getenv.patch use secure_getenv only as we 
  can't know in which context the shared library is used.

OBS-URL: https://build.opensuse.org/request/show/233200
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=97
This commit is contained in:
2014-05-12 08:47:59 +00:00
committed by Git OBS Bridge
parent b173abb353
commit 5da5ce6658
3 changed files with 85 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ Patch33: file-5.16-ocloexec.patch
Patch34: file-5.18-endian.patch
Patch35: file-5.12-nitpick.dif
Patch36: file-5.15-clear-invalid.patch
Patch37: file-secure_getenv.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _miscdir %{_datadir}/misc
@@ -126,6 +127,7 @@ to develop applications that require the magic "file" interface.
%patch34 -p0 -b .endian
%patch35 -p0 -b .nitpick
%patch36 -p1 -b .clear
%patch37 -p1 -b .getenv
%patch -b .0
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in