]> code.ossystems Code Review - openembedded-core.git/commitdiff
strace: 4.15 -> 4.16
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 22 Feb 2017 01:44:26 +0000 (17:44 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Mar 2017 12:54:17 +0000 (12:54 +0000)
* The license cheksum is changed becuase a new line is added:
  Copyright (C) 2001-2017 The strace developers.

* Remove use-asm-sgidefs.h.patch, it doesn't check sgidefs.h any more, it was
  use for building on mips, I checked it built well.

* Update Makefile-ptest.patch and disable-git-version-gen.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/strace/strace/Makefile-ptest.patch
meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
meta/recipes-devtools/strace/strace/use-asm-sgidefs.h.patch [deleted file]
meta/recipes-devtools/strace/strace_4.16.bb [moved from meta/recipes-devtools/strace/strace_4.15.bb with 84% similarity]

index 2b76e8a111895b8664b90d5834884aecd241cc3f..876c2d8629bf3cae71ae1382e7d300317be29085 100644 (file)
@@ -10,25 +10,26 @@ Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
  2 files changed, 19 insertions(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
+index b2b03c6..464a9dc 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -36,7 +36,7 @@ AC_INIT([strace],
+@@ -39,7 +39,7 @@ AC_COPYRIGHT([Copyright (C) 1999-2017 The strace developers.])
  AC_CONFIG_SRCDIR([strace.c])
  AC_CONFIG_AUX_DIR([.])
  AC_CONFIG_HEADERS([config.h])
 -AM_INIT_AUTOMAKE([foreign nostdinc dist-xz silent-rules parallel-tests])
 +AM_INIT_AUTOMAKE([foreign nostdinc dist-xz silent-rules serial-tests])
+ AM_EXTRA_RECURSIVE_TARGETS([check-valgrind])
  AM_MAINTAINER_MODE
  AC_CANONICAL_HOST
 diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 9023029..e1917fa 100644
+index 311d3bb..72f9022 100644
 --- a/tests/Makefile.am
 +++ b/tests/Makefile.am
-@@ -784,3 +784,21 @@ ksysent.h: $(srcdir)/ksysent.sed
- BUILT_SOURCES = ksysent.h
+@@ -960,3 +960,21 @@ $(objects): scno.h
  CLEANFILES = ksysent.h $(TESTS:=.tmp)
+ include ../scno.am
 +
 +buildtest-TESTS: $(check_PROGRAMS) $(TESTS)
 +
index 7bc143635f747fbd40b17c4e8a16ece60f07a76f..76daf3a3b733e35ab2c75aa6618f887bfe2a2f0d 100644 (file)
@@ -5,16 +5,16 @@ Upstream-Status: Inappropriate [configuration]
 
 Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
 
-Index: strace-4.10/configure.ac
-===================================================================
---- strace-4.10.orig/configure.ac
-+++ strace-4.10/configure.ac
-@@ -1,7 +1,7 @@
- dnl Process this file with autoconf to create configure.  Use autoreconf.
+diff --git a/configure.ac b/configure.ac
+index 7004bd3..b2b03c6 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -31,7 +31,7 @@
  AC_PREREQ(2.57)
  AC_INIT([strace],
 -      m4_esyscmd([./git-version-gen .tarball-version]),
 +      m4_esyscmd_s([cat .tarball-version]),
-       [strace-devel@lists.sourceforge.net])
- AC_CONFIG_SRCDIR([strace.c])
AC_CONFIG_AUX_DIR([.])
+       [strace-devel@lists.sourceforge.net],
+       [strace],
      [https://strace.io])
diff --git a/meta/recipes-devtools/strace/strace/use-asm-sgidefs.h.patch b/meta/recipes-devtools/strace/strace/use-asm-sgidefs.h.patch
deleted file mode 100644 (file)
index db83d11..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-From 2995245d7e3f46e8b3995002995ebd28beca7d55 Mon Sep 17 00:00:00 2001
-From: Andre McCurdy <armccurdy@gmail.com>
-Date: Fri, 5 Feb 2016 14:00:00 -0800
-Subject: [PATCH] use <asm/sgidefs.h>
-
-Build fix for MIPS with musl libc.
-
-The MIPS specific header <sgidefs.h> is provided by glibc and uclibc
-but not by musl. Regardless of the libc, the kernel headers provide
-<asm/sgidefs.h> which provides the same definitions, so use that
-instead.
-
-Upstream-Status: Pending
-
-Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
----
- configure.ac | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 1524b9b..287e03d 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -196,20 +196,20 @@ AC_SUBST(arch_mx32)
- if test "$arch" = mips; then
-       AC_CACHE_CHECK([for _MIPS_SIM], [st_cv__MIPS_SIM],
-                      [AC_COMPUTE_INT([st_cv__MIPS_SIM], [_MIPS_SIM],
--                                     [#include <sgidefs.h>],
-+                                     [#include <asm/sgidefs.h>],
-                                      [AC_MSG_ERROR([_MIPS_SIM cannot be determined])])])
-       AC_CACHE_CHECK([for MIPS ABI], [st_cv_mips_abi],
-               [AC_COMPILE_IFELSE(
--                      [AC_LANG_PROGRAM([[#include <sgidefs.h>]],
-+                      [AC_LANG_PROGRAM([[#include <asm/sgidefs.h>]],
-                                        [[int i[_MIPS_SIM == _MIPS_SIM_ABI32 ? 1 : - 1];]])],
-                       [st_cv_mips_abi=o32],
-               [AC_COMPILE_IFELSE(
--                      [AC_LANG_PROGRAM([[#include <sgidefs.h>]],
-+                      [AC_LANG_PROGRAM([[#include <asm/sgidefs.h>]],
-                                        [[int i[_MIPS_SIM == _MIPS_SIM_NABI32 ? 1 : - 1];]])],
-                       [st_cv_mips_abi=n32],
-               [AC_COMPILE_IFELSE(
--                      [AC_LANG_PROGRAM([[#include <sgidefs.h>]],
-+                      [AC_LANG_PROGRAM([[#include <asm/sgidefs.h>]],
-                                        [[int i[_MIPS_SIM == _MIPS_SIM_ABI64 ? 1 : - 1];]])],
-                       [st_cv_mips_abi=n64],
-                       [st_cv_mips_abi=unknown])])])])
--- 
-1.9.1
-
similarity index 84%
rename from meta/recipes-devtools/strace/strace_4.15.bb
rename to meta/recipes-devtools/strace/strace_4.16.bb
index c5983e9c394880c511d64021e42d345a30f6fa76..b6cd2ac9b9e60e5c97f257bc3f6701b536bc8bde 100644 (file)
@@ -2,13 +2,12 @@ SUMMARY = "System call tracing tool"
 HOMEPAGE = "http://strace.sourceforge.net"
 SECTION = "console/utils"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=124500c21e856f0912df29295ba104c7"
+LIC_FILES_CHKSUM = "file://COPYING;md5=488acb3aaaf5d14a2e1a852d13668a70"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \
            file://disable-git-version-gen.patch \
            file://more-robust-test-for-m32-mx32-compile-support.patch \
            file://update-gawk-paths.patch \
-           file://use-asm-sgidefs.h.patch \
            file://Makefile-ptest.patch \
            file://run-ptest \
            file://0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch \
@@ -16,8 +15,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \
            file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
            "
 
-SRC_URI[md5sum] = "1ff96209fec19914c920608ed0791864"
-SRC_URI[sha256sum] = "c0cdc094d6141fd9dbf6aaad605142d651ae10998b660fda57fc61f7ad583ca9"
+SRC_URI[md5sum] = "2873366cac98770efcbed6e748d5ef23"
+SRC_URI[sha256sum] = "98487cb5178ec1259986cc9f6e2a844f50e5d1208c112cc22431a1e4d9adf0ef"
 
 inherit autotools ptest bluetooth