From 2c663cf0e55b7b3dc6b0f4d57516e704c16d8045 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Wed, 5 May 2021 15:39:09 +0000 Subject: [PATCH] strace: update to 5.12 --- packages/strace/5.11fix.patch | 66 ----------------------------------- packages/strace/build.sh | 4 +-- 2 files changed, 2 insertions(+), 68 deletions(-) delete mode 100644 packages/strace/5.11fix.patch diff --git a/packages/strace/5.11fix.patch b/packages/strace/5.11fix.patch deleted file mode 100644 index e94e979a1..000000000 --- a/packages/strace/5.11fix.patch +++ /dev/null @@ -1,66 +0,0 @@ -#from https://github.com/strace/strace/compare/e5b5a73ac749534080641ac7119714a8ae2f57d3...cdfc8ebaeff56a0083042afab374fa1b45ba61db -diff --git a/configure.ac b/configure.ac -index bc85b4934..590a591b7 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -329,6 +329,13 @@ AC_CHECK_FUNCS(m4_normalize([ - - AC_CHECK_TYPES([sig_atomic_t, struct sigcontext],,, [#include ]) - -+AC_CHECK_TYPES([struct sockaddr_storage], -+ [], -+ [mkdir -p src/linux/generic/linux -+ cp $srcdir/src/linux/generic/socket.h.in src/linux/generic/linux/socket.h -+ CPPFLAGS="-Isrc/linux/generic $CPPFLAGS"], -+ [#include ]) -+ - AC_CHECK_TYPES([struct mmsghdr],,, [#include ]) - - AC_CHECK_TYPES([__kernel_long_t, __kernel_ulong_t],,, -@@ -585,7 +592,7 @@ AC_CACHE_CHECK([whether can be used along with ], - if test "x$st_cv_linux_signal" = xno; then - mkdir -p src/linux/generic/linux - cp $srcdir/src/linux/generic/signal.h.in src/linux/generic/linux/signal.h -- CPPFLAGS="$CPPFLAGS -Ilinux/generic" -+ CPPFLAGS="-Isrc/linux/generic $CPPFLAGS" - fi - - AC_CHECK_TYPES([struct __aio_sigset],,, [#include ]) -diff --git a/src/Makefile.am b/src/Makefile.am -index eec669778..efe6881c0 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -545,6 +545,7 @@ EXTRA_DIST = \ - linux/generic/shuffle_scno.c \ - linux/generic/signal.h.in \ - linux/generic/signalent.h \ -+ linux/generic/socket.h.in \ - linux/generic/subcallent.h \ - linux/generic/syscallent-common.h \ - linux/generic/syscallent_base_nr.h \ -@@ -1018,7 +1019,11 @@ CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) $(mpers_preproc_files) \ - ioctl_iocdef.h ioctl_iocdef.i \ - bpf_attr_check.c native_printer_decls.h native_printer_defs.h \ - printers.h sen.h sys_func.h --DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h linux/generic/linux/signal.h -+DISTCLEANFILES = gnu/stubs-32.h \ -+ gnu/stubs-x32.h \ -+ linux/generic/linux/signal.h \ -+ linux/generic/linux/socket.h \ -+ # - - include scno.am - -diff --git a/src/linux/generic/socket.h.in b/src/linux/generic/socket.h.in -new file mode 100644 -index 000000000..585771ee9 ---- /dev/null -+++ b/src/linux/generic/socket.h.in -@@ -0,0 +1,7 @@ -+#include_next -+/* -+ * expects to define struct sockaddr_storage. -+ */ -+#ifndef sockaddr_storage -+# define sockaddr_storage __kernel_sockaddr_storage -+#endif diff --git a/packages/strace/build.sh b/packages/strace/build.sh index 3d89fcfc7..a16feef51 100644 --- a/packages/strace/build.sh +++ b/packages/strace/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://strace.io/ TERMUX_PKG_DESCRIPTION="Debugging utility to monitor system calls and signals received" TERMUX_PKG_LICENSE="BSD" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=5.11 +TERMUX_PKG_VERSION=5.12 TERMUX_PKG_SRCURL=https://github.com/strace/strace/releases/download/v$TERMUX_PKG_VERSION/strace-$TERMUX_PKG_VERSION.tar.xz -TERMUX_PKG_SHA256=ffe340b10c145a0f85734271e9cce56457d23f21a7ea5931ab32f8cf4e793879 +TERMUX_PKG_SHA256=29171edf9d252f89c988a4c340dfdec662f458cb8c63d85431d64bab5911e7c4 TERMUX_PKG_DEPENDS="libdw" # Without st_cv_m32_mpers=no the build fails if gawk is installed.