mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
strace: Fix ptest build
include stdint.h since the test uses uintptr_t C99 type (From OE-Core rev: b0791cfeeed3d4346ea5c9285f09b0a532c58bf8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
include stdint.h for getting uintptr_t definition
|
||||
|
||||
fixes do_compile_ptest_base
|
||||
tests/fanotify_mark.c:191:23: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'?
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
--- a/tests/fanotify_mark.c
|
||||
+++ b/tests/fanotify_mark.c
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
# include <limits.h>
|
||||
# include <stdio.h>
|
||||
+# include <stdint.h>
|
||||
# include <unistd.h>
|
||||
# include <sys/fanotify.h>
|
||||
|
||||
@@ -14,6 +14,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
|
||||
file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
|
||||
file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \
|
||||
file://ptest-spacesave.patch \
|
||||
file://uintptr_t.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "84f5e72de813c9b1bb6057ee8ab428d8"
|
||||
SRC_URI[sha256sum] = "6c131198749656401fe3efd6b4b16a07ea867e8f530867ceae8930bbc937a047"
|
||||
|
||||
Reference in New Issue
Block a user