mirror of
https://git.yoctoproject.org/poky
synced 2026-07-17 04:07:06 +00:00
systemtap: fix do_compile failed on fedora21
For dora, the systemtap-native do_compile failed on fedora21 ... | In file included from /usr/include/stdio.h:27:0, | from tmp/work/x86_64-linux/systemtap-native/ 2.3+gitAUTOINC+e58138572e-r0/git/staprun/staprun.h:18, | from tmp/work/x86_64-linux/systemtap-native/ 2.3+gitAUTOINC+e58138572e-r0/git/staprun/staprun.c:24: | /usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp] | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ... We backport a patch from 2.6 to fix this issue (From OE-Core rev: ecc9bb098d69fb1b8920d8ecfaff5c9741859c4d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
12dd4279c5
commit
9b385da2f0
@@ -7,6 +7,7 @@ PV = "2.3+git${SRCPV}"
|
||||
SRC_URI = "git://sourceware.org/git/systemtap.git \
|
||||
file://docproc-build-fix.patch \
|
||||
file://obsolete_automake_macros.patch \
|
||||
file://0001-PR16632-Adapt-to-glibc-deprecation-of-_BSD_SOURCE-ad.patch \
|
||||
"
|
||||
|
||||
FILESPATH = "${FILE_DIRNAME}/systemtap"
|
||||
|
||||
Reference in New Issue
Block a user