package/ltp-testsuite: Add upstream patch to fix build on uClibc-ng
authorPetr Vorel <petr.vorel@gmail.com>
Thu, 7 Dec 2017 17:29:00 +0000 (18:29 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 7 Dec 2017 21:35:51 +0000 (22:35 +0100)
Fixes:
http://autobuild.buildroot.net/results/6c0506423c76b61018da26c2549570e3d9eb5763/

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ltp-testsuite/0004-syscalls-mknodat-Fix-missing-config.patch [new file with mode: 0644]

diff --git a/package/ltp-testsuite/0004-syscalls-mknodat-Fix-missing-config.patch b/package/ltp-testsuite/0004-syscalls-mknodat-Fix-missing-config.patch
new file mode 100644 (file)
index 0000000..d315a94
--- /dev/null
@@ -0,0 +1,28 @@
+From 0ee59c66f4e4930d543395fb8617e26cf8b22025 Mon Sep 17 00:00:00 2001
+From: Petr Vorel <pvorel@suse.cz>
+Date: Thu, 7 Dec 2017 17:37:01 +0100
+Subject: [PATCH] syscalls/mknodat: Fix missing config
+
+Found by buildroot project, where this broke build on uClibc-ng, thanks!
+http://autobuild.buildroot.net/results/6c0506423c76b61018da26c2549570e3d9eb5763/build-end.log
+
+Signed-off-by: Petr Vorel <pvorel@suse.cz>
+---
+ testcases/kernel/syscalls/mknodat/mknodat.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/testcases/kernel/syscalls/mknodat/mknodat.h b/testcases/kernel/syscalls/mknodat/mknodat.h
+index 577d5ac9c..b4e828c5d 100644
+--- a/testcases/kernel/syscalls/mknodat/mknodat.h
++++ b/testcases/kernel/syscalls/mknodat/mknodat.h
+@@ -22,6 +22,7 @@
+ #define MKNODAT_H
+ #include <sys/types.h>
++#include "config.h"
+ #include "lapi/syscalls.h"
+ #if !defined(HAVE_MKNODAT)
+-- 
+2.15.0
+