diff options
Diffstat (limited to 'meta/recipes-devtools/make/make/0002-w32-compat-dirent.c-follow-header.patch')
-rw-r--r-- | meta/recipes-devtools/make/make/0002-w32-compat-dirent.c-follow-header.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-devtools/make/make/0002-w32-compat-dirent.c-follow-header.patch b/meta/recipes-devtools/make/make/0002-w32-compat-dirent.c-follow-header.patch deleted file mode 100644 index 9ecc44543e..0000000000 --- a/meta/recipes-devtools/make/make/0002-w32-compat-dirent.c-follow-header.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 4dd8b4f43aa0078707ad9a7932f4e137bc4383ed Mon Sep 17 00:00:00 2001 | ||
2 | From: Jens Rehsack <sno@netbsd.org> | ||
3 | Date: Mon, 24 Feb 2020 11:12:43 +0100 | ||
4 | Subject: [PATCH 2/3] w32: compat: dirent.c: follow header | ||
5 | |||
6 | src/w32/include/dirent.h completely delegates to mingw dirent implementation, | ||
7 | gnulib detects it as fine and completely usable - trust in that. | ||
8 | |||
9 | Signed-off-by: Jens Rehsack <sno@netbsd.org> | ||
10 | --- | ||
11 | Upstream-Status: Pending (https://savannah.gnu.org/bugs/?57888) | ||
12 | |||
13 | src/w32/compat/dirent.c | 3 ++- | ||
14 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/src/w32/compat/dirent.c b/src/w32/compat/dirent.c | ||
17 | index b8ec615..de80f72 100644 | ||
18 | --- a/src/w32/compat/dirent.c | ||
19 | +++ b/src/w32/compat/dirent.c | ||
20 | @@ -23,7 +23,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
21 | #include <stdlib.h> | ||
22 | #include "dirent.h" | ||
23 | |||
24 | - | ||
25 | +#ifndef __MINGW32__ | ||
26 | DIR* | ||
27 | opendir(const char* pDirName) | ||
28 | { | ||
29 | @@ -193,3 +193,4 @@ seekdir(DIR* pDir, long nPosition) | ||
30 | |||
31 | return; | ||
32 | } | ||
33 | +#endif /* !__MINGW32__ */ | ||
34 | -- | ||
35 | 2.17.1 | ||
36 | |||