summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-05-03 20:36:49 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-15 10:56:49 +0100
commitc53c3181df418a9980f46c3d738a9975b7afb5cf (patch)
tree686f76b91204a7ab11ec06d06de5bfed5eb77dcd /meta
parent8cc24f35950287ca3031666fe6a2e24b84179b84 (diff)
downloadpoky-c53c3181df418a9980f46c3d738a9975b7afb5cf.tar.gz
strace: Upgrade to 4.22
License-Update: Update Copyright years (From OE-Core rev: 7ab51c619697ad64d69ecf77449c43fe59c3290c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/strace/strace/disable-git-version-gen.patch12
-rw-r--r--meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch22
-rw-r--r--meta/recipes-devtools/strace/strace_4.22.bb (renamed from meta/recipes-devtools/strace/strace_4.20.bb)11
3 files changed, 23 insertions, 22 deletions
diff --git a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
index 76daf3a3b7..47b1139c53 100644
--- a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
+++ b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
@@ -5,16 +5,16 @@ Upstream-Status: Inappropriate [configuration]
5 5
6Signed-off-by: Andre McCurdy <armccurdy@gmail.com> 6Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
7 7
8diff --git a/configure.ac b/configure.ac 8Index: strace-4.22/configure.ac
9index 7004bd3..b2b03c6 100644 9===================================================================
10--- a/configure.ac 10--- strace-4.22.orig/configure.ac
11+++ b/configure.ac 11+++ strace-4.22/configure.ac
12@@ -31,7 +31,7 @@ 12@@ -32,7 +32,7 @@
13 13
14 AC_PREREQ(2.57) 14 AC_PREREQ(2.57)
15 AC_INIT([strace], 15 AC_INIT([strace],
16- m4_esyscmd([./git-version-gen .tarball-version]), 16- m4_esyscmd([./git-version-gen .tarball-version]),
17+ m4_esyscmd_s([cat .tarball-version]), 17+ m4_esyscmd_s([cat .tarball-version]),
18 [strace-devel@lists.sourceforge.net], 18 [strace-devel@lists.strace.io],
19 [strace], 19 [strace],
20 [https://strace.io]) 20 [https://strace.io])
diff --git a/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch b/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch
index 756cd8bb82..3d4913d68e 100644
--- a/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch
+++ b/meta/recipes-devtools/strace/strace/more-robust-test-for-m32-mx32-compile-support.patch
@@ -22,25 +22,23 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
22 m4/mpers.m4 | 2 ++ 22 m4/mpers.m4 | 2 ++
23 1 file changed, 2 insertions(+) 23 1 file changed, 2 insertions(+)
24 24
25diff --git a/m4/mpers.m4 b/m4/mpers.m4 25Index: strace-4.22/m4/mpers.m4
26index 1fe8a8e..d72c717 100644 26===================================================================
27--- a/m4/mpers.m4 27--- strace-4.22.orig/m4/mpers.m4
28+++ b/m4/mpers.m4 28+++ strace-4.22/m4/mpers.m4
29@@ -53,12 +53,14 @@ case "$arch" in 29@@ -108,6 +108,7 @@ case "$arch" in
30 CFLAGS="$CFLAGS CFLAG $IFLAG" 30 CFLAGS="$CFLAGS MPERS_CFLAGS $IFLAG"
31 AC_CACHE_CHECK([for CFLAG compile support], [st_cv_cc], 31 AC_CACHE_CHECK([for mpers_name personality compile support], [st_cv_cc],
32 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> 32 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdint.h>
33+ #include <sys/syscall.h> 33+ #include <sys/syscall.h>
34 int main(){return 0;}]])], 34 int main(){return 0;}]])],
35 [st_cv_cc=yes], 35 [st_cv_cc=yes],
36 [st_cv_cc=no])]) 36 [st_cv_cc=no])])
37 if test $st_cv_cc = yes; then 37@@ -115,6 +116,7 @@ case "$arch" in
38 AC_CACHE_CHECK([for CFLAG runtime support], [st_cv_runtime], 38 AC_CACHE_CHECK([for mpers_name personality runtime support],
39 [st_cv_runtime],
39 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> 40 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdint.h>
40+ #include <sys/syscall.h> 41+ #include <sys/syscall.h>
41 int main(){return 0;}]])], 42 int main(){return 0;}]])],
42 [st_cv_runtime=yes], 43 [st_cv_runtime=yes],
43 [st_cv_runtime=no], 44 [st_cv_runtime=no],
44--
451.9.1
46
diff --git a/meta/recipes-devtools/strace/strace_4.20.bb b/meta/recipes-devtools/strace/strace_4.22.bb
index 869c12f65a..196c9d8587 100644
--- a/meta/recipes-devtools/strace/strace_4.20.bb
+++ b/meta/recipes-devtools/strace/strace_4.22.bb
@@ -2,7 +2,7 @@ SUMMARY = "System call tracing tool"
2HOMEPAGE = "http://strace.io" 2HOMEPAGE = "http://strace.io"
3SECTION = "console/utils" 3SECTION = "console/utils"
4LICENSE = "BSD" 4LICENSE = "BSD"
5LIC_FILES_CHKSUM = "file://COPYING;md5=f132b4d2adfccc63da4139a609367711" 5LIC_FILES_CHKSUM = "file://COPYING;md5=6ddb91734b9c705f3e87362e97e5f64b"
6 6
7SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ 7SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
8 file://disable-git-version-gen.patch \ 8 file://disable-git-version-gen.patch \
@@ -15,12 +15,15 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
15 file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \ 15 file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
16 file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \ 16 file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \
17 " 17 "
18 18SRC_URI[md5sum] = "7a2a7d7715da6e6834bc65bd09bace1c"
19SRC_URI[md5sum] = "f2271ab0fac49ebee9cbd7f3469227cb" 19SRC_URI[sha256sum] = "068cd09264c95e4d591bbcd3ea08f99a693ed8663cd5169b0fdad72eb5bdb39d"
20SRC_URI[sha256sum] = "5bf3148dd17306a42566f7da17368fdd781afa147db05ea63a4ca2b50f58c523"
21 20
22inherit autotools ptest bluetooth 21inherit autotools ptest bluetooth
23 22
23EXTRA_OECONF += "--enable-mpers=no"
24
25CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext"
26
24RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed" 27RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed"
25 28
26PACKAGECONFIG_class-target ??= "\ 29PACKAGECONFIG_class-target ??= "\