mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
Announcement: https://lists.gnu.org/archive/html/bug-make/2020-01/msg00057.html 1) Remove upstream provided patches 0001-glob-Do-not-assume-glibc-glob-internals.patch and 0002-glob-Do-not-assume-glibc-glob-internals.patch. 2) License has been changed to GPLv3 only 3) Important bug-fix is * https://lists.gnu.org/archive/html/bug-make/2018-09/msg00006.html 4) Backward-incompatibilities: * Number signs (#) appearing inside a macro reference or function invocation no longer introduce comments and should not be escaped with backslashes * Previously appending using '+=' to an empty variable would result in a value starting with a space. Now the initial space is only added if the variable already contains some value. Similarly, appending an empty string does not add a trailing space. Fix incompatibility issues between gnulib bundled with updated make fix issues in w32 compat sources. (From OE-Core rev: 4a5d4cf0cc8a4a6af76f23dd8a29627042230f98) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1002 B
Diff
37 lines
1002 B
Diff
From 4dd8b4f43aa0078707ad9a7932f4e137bc4383ed Mon Sep 17 00:00:00 2001
|
|
From: Jens Rehsack <sno@netbsd.org>
|
|
Date: Mon, 24 Feb 2020 11:12:43 +0100
|
|
Subject: [PATCH 2/3] w32: compat: dirent.c: follow header
|
|
|
|
src/w32/include/dirent.h completely delegates to mingw dirent implementation,
|
|
gnulib detects it as fine and completely usable - trust in that.
|
|
|
|
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
---
|
|
Upstream-Status: Pending (https://savannah.gnu.org/bugs/?57888)
|
|
|
|
src/w32/compat/dirent.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/w32/compat/dirent.c b/src/w32/compat/dirent.c
|
|
index b8ec615..de80f72 100644
|
|
--- a/src/w32/compat/dirent.c
|
|
+++ b/src/w32/compat/dirent.c
|
|
@@ -23,7 +23,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
#include <stdlib.h>
|
|
#include "dirent.h"
|
|
|
|
-
|
|
+#ifndef __MINGW32__
|
|
DIR*
|
|
opendir(const char* pDirName)
|
|
{
|
|
@@ -193,3 +193,4 @@ seekdir(DIR* pDir, long nPosition)
|
|
|
|
return;
|
|
}
|
|
+#endif /* !__MINGW32__ */
|
|
--
|
|
2.17.1
|
|
|