work around readdir_r deprecation
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
084ee5f2e6
commit
d96a6e58f5
@ -0,0 +1,27 @@
|
||||
From 00621208b411011d9f858923fa9d2ccc024767b5 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Jones <pjones@redhat.com>
|
||||
Date: Thu, 30 Jun 2016 11:32:03 -0400
|
||||
Subject: [PATCH] allow deprecated declarations for now to let readdir_r
|
||||
work...
|
||||
|
||||
Signed-off-by: Peter Jones <pjones@redhat.com>
|
||||
---
|
||||
gcc.specs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gcc.specs b/gcc.specs
|
||||
index 0d4bbda..d25ac5e 100644
|
||||
--- a/gcc.specs
|
||||
+++ b/gcc.specs
|
||||
@@ -2,7 +2,7 @@
|
||||
+ -D_GNU_SOURCE
|
||||
|
||||
*efivar_cpp_options:
|
||||
- -Werror -Wall -std=gnu11 -Wextra
|
||||
+ -Werror -Wall -std=gnu11 -Wextra -Wno-error=deprecated-declarations
|
||||
|
||||
*cpp_options:
|
||||
+ %(efivar_cpp_options)
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@ -9,6 +9,7 @@ ExclusiveArch: %{ix86} x86_64 aarch64
|
||||
|
||||
BuildRequires: popt-devel popt-static git glibc-static
|
||||
Source0: https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2
|
||||
Patch0001: 0001-allow-deprecated-declarations-for-now-to-let-readdir.patch
|
||||
|
||||
%description
|
||||
efivar provides a simple command line interface to the UEFI variable facility.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user