Github messages for voidlinux
 help / color / mirror / Atom feed
From: Piraty <Piraty@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] strace: update to 5.6.
Date: Wed, 22 Apr 2020 22:00:19 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21253@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

There is a new pull request by Piraty against master on the void-packages repository

https://github.com/Piraty/void-packages strace-5.6
https://github.com/void-linux/void-packages/pull/21253

strace: update to 5.6.
* libunwind now available on aarch64-musl
* drop pre_configure, all fixups are long obsolete (see CHANGELOG)

A patch file from https://github.com/void-linux/void-packages/pull/21253.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-strace-5.6-21253.patch --]
[-- Type: text/x-diff, Size: 1740 bytes --]

From f650e5a333d438c46a4eca7699f903b2e9c2bf2c Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Wed, 22 Apr 2020 18:48:58 +0200
Subject: [PATCH] strace: update to 5.6.

* libunwind now available on aarch64-musl
* drop pre_configure, all fixups are long obsolete (see CHANGELOG)
---
 srcpkgs/strace/template | 20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/srcpkgs/strace/template b/srcpkgs/strace/template
index 6b67413b066..6998cc61c15 100644
--- a/srcpkgs/strace/template
+++ b/srcpkgs/strace/template
@@ -1,6 +1,6 @@
 # Template file for 'strace'
 pkgname=strace
-version=5.5
+version=5.6
 revision=1
 build_style=gnu-configure
 configure_args="--with-libunwind"
@@ -10,20 +10,10 @@ maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
 license="LGPL-2.1-or-later"
 homepage="https://strace.io/"
 distfiles="https://github.com/strace/strace/releases/download/v${version}/strace-${version}.tar.xz"
-checksum=9f58958c8e59ea62293d907d10572e352b582bd7948ed21aa28ebb47e5bf30ff
+checksum=189968eeae06ed9e20166ec55a830943c84374676a457c9fe010edc7541f1b01
 
 case "$XBPS_TARGET_MACHINE" in
-	aarch64-musl) configure_args=; makedepends= ;;
+	aarch64*|ppc64*) configure_args+=" --enable-mpers=no" ;;
+	# work around https://github.com/strace/strace/issues/133
+	x86_64-musl) configure_args+=" --enable-mpers=no" ;;
 esac
-
-case "$XBPS_TARGET_MACHINE" in
-	aarch64*|ppc64*) configure_args+=" --enable-mpers=no"
-esac
-
-pre_configure() {
-	sed -i -e 's/include <linux\/socket.h>/include <sys\/socket.h>/g' configure
-	sed -i -e 's/include <sgidefs.h>/include <asm\/sgidefs.h>/g' configure
-	case "$XBPS_TARGET_MACHINE" in
-		*-musl) export CFLAGS+=" -Dsigcontext_struct=sigcontext";;
-	esac
-}

             reply	other threads:[~2020-04-22 20:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-22 20:00 Piraty [this message]
2020-04-23 11:12 ` [PR PATCH] [Merged]: " xtraeme
  -- strict thread matches above, loose matches on Subject: below --
2020-04-15 10:59 [PR PATCH] " ailiop-git

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21253@inbox.vuxu.org \
    --to=piraty@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).