diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-03-13 16:40:49 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-03-13 16:41:34 +0100 |
commit | 0b9f8e012a51eecd3df1a86b4ca639de85537e33 (patch) | |
tree | b34341ada140e1a78cb1bb6fad1ff2d9b0a9fb97 | |
parent | Bump xfsprogs to v5.11.0 (diff) | |
download | genkernel-0b9f8e012a51eecd3df1a86b4ca639de85537e33.tar.gz genkernel-0b9f8e012a51eecd3df1a86b4ca639de85537e33.tar.bz2 genkernel-0b9f8e012a51eecd3df1a86b4ca639de85537e33.zip |
Bump strace to v5.11
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r-- | defaults/software.sh | 2 | ||||
-rw-r--r-- | gkbuilds/strace.gkbuild | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/defaults/software.sh b/defaults/software.sh index e938584f..291bad46 100644 --- a/defaults/software.sh +++ b/defaults/software.sh @@ -186,7 +186,7 @@ GKPKG_POPT_BINPKG="${GKPKG_POPT_BINPKG:-%%CACHE%%/popt-${GKPKG_POPT_PV}-%%ARCH%% GKPKG_STRACE_PN="strace" GKPKG_STRACE_PV="${GKPKG_STRACE_PV:-VERSION_STRACE}" -GKPKG_STRACE_DEPS="" +GKPKG_STRACE_DEPS="libaio" GKPKG_STRACE_SRCTAR="${GKPKG_STRACE_SRCTAR:-${DISTDIR}/strace-${GKPKG_STRACE_PV}.tar.xz}" GKPKG_STRACE_SRCDIR="${GKPKG_STRACE_SRCDIR:-strace-${GKPKG_STRACE_PV}}" GKPKG_STRACE_BINPKG="${GKPKG_STRACE_BINPKG:-%%CACHE%%/strace-${GKPKG_STRACE_PV}-%%ARCH%%.tar.xz}" diff --git a/gkbuilds/strace.gkbuild b/gkbuilds/strace.gkbuild index 62399ce5..d32a4b7e 100644 --- a/gkbuilds/strace.gkbuild +++ b/gkbuilds/strace.gkbuild @@ -1,12 +1,13 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 src_configure() { append-ldflags -static -pthread - export ac_cv_header_libaio_h=yes local myconf=( + --disable-gcc-Werror --enable-mpers=check + --enable-static --without-libunwind --without-libdw ) @@ -19,8 +20,8 @@ src_configure() { src_install() { mkdir -p "${D}"/usr/bin || die "Failed to create '${D}/usr/bin'!" - cp -a strace "${D}"/usr/bin/ \ - || die "Failed to copy '${S}/strace' to '${D}/usr/bin/'!" + cp -a src/strace "${D}"/usr/bin/ \ + || die "Failed to copy '${S}/src/strace' to '${D}/usr/bin/'!" "${STRIP}" --strip-all "${D}"/usr/bin/strace \ || die "Failed to strip '${D}/usr/bin/strace'!" |