M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions
@@ -0,0 +1,23 @@
sigmask is a macro which is dropped if BSD compatibility is
not enabled. So we check if the macro does not exist then
we define it to __sigmask
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Index: strace-4.5.20/signal.c
===================================================================
--- strace-4.5.20.orig/signal.c 2010-02-23 13:26:16.000000000 -0800
+++ strace-4.5.20/signal.c 2011-07-20 23:06:35.842339197 -0700
@@ -140,6 +140,11 @@
#endif
#endif /* LINUX */
+#if !defined (sigmask) && defined (__sigmask)
+/* Compute mask for signal SIG. */
+#define sigmask(sig) __sigmask(sig)
+#endif /* sigmask */
+
const char *const signalent0[] = {
#include "signalent.h"
};
@@ -0,0 +1,22 @@
DESCRIPTION = "strace is a system call tracing tool."
HOMEPAGE = "http://strace.sourceforge.net"
SECTION = "console/utils"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4535377ede62550fdeaf39f595fd550a"
PR = "r0"
PACKAGES =+ "${PN}-graph "
FILES_${PN}-graph = "${bindir}/strace-graph"
RDEPENDS_${PN}-graph = "perl"
SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \
file://sigmask.patch \
"
SRC_URI[md5sum] = "e537b2b1afeec70c0e6e27a0d0fd671e"
SRC_URI[sha256sum] = "9ef9aa41b6118578e33ef4833b8a04209d6cc062546c28efd715f283b172c28a"
inherit autotools
export INCLUDES = "-I. -I./linux"
BBCLASSEXTEND = "native"