Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] memtester: update to 4.6.0.
Date: Fri, 31 Mar 2023 21:34:51 +0200	[thread overview]
Message-ID: <20230331193451.1smYbdLCA0if2p9NTEAAuL99d1U-hNg1kgWF0509ooo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43144@inbox.vuxu.org>

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

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages memtester
https://github.com/void-linux/void-packages/pull/43144

memtester: update to 4.6.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

Closes https://github.com/void-linux/void-packages/issues/43104

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

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

From 18a6f6ba5fd7ec2e6024f368d73ae6627b807a35 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 28 Mar 2023 20:12:04 +0530
Subject: [PATCH] memtester: update to 4.6.0.

---
 srcpkgs/memtester/template | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/memtester/template b/srcpkgs/memtester/template
index 0829d95c5d79..f1f3da265630 100644
--- a/srcpkgs/memtester/template
+++ b/srcpkgs/memtester/template
@@ -1,22 +1,23 @@
 # Template file for 'memtester'
 pkgname=memtester
-version=4.5.1
+version=4.6.0
 revision=1
 build_style=gnu-makefile
 short_desc="Userspace utility for testing the memory subsystem for faults"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
-license="GPL-2.0-or-later"
-homepage="http://pyropus.ca/software/memtester"
-changelog="http://pyropus.ca/software/memtester/CHANGELOG"
-distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
-checksum=1c5fc2382576c084b314cfd334d127a66c20bd63892cac9f445bc1d8b4ca5a47
+license="GPL-2.0-only"
+homepage="https://pyropus.ca./software/memtester/"
+changelog="https://pyropus.ca./software/memtester/CHANGELOG"
+distfiles="https://deb.debian.org/debian/pool/main/m/memtester/memtester_${version}.orig.tar.gz"
+checksum=c9fe4eb7e80c8cef5202f9065c4c0682f5616647c0455e916a5700f98e3dbb2e
 
 CFLAGS="-fcommon"
 
 post_patch() {
-	# first two won't change anything for native builds
-	vsed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
-	vsed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld
+	if [ -n "$cross" ]; then
+		vsed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
+		vsed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld
+	fi
 	vsed -i -e "s|/usr/local|${DESTDIR}/usr|" \
 		-e "s|man/man8|share/man/man8|" Makefile
 }

  reply	other threads:[~2023-03-31 19:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31 19:25 [PR PATCH] " icp1994
2023-03-31 19:34 ` icp1994 [this message]
2023-03-31 19:38 ` [PR PATCH] [Updated] " icp1994
2023-04-23 22:37 ` [PR PATCH] [Merged]: " Duncaen

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=20230331193451.1smYbdLCA0if2p9NTEAAuL99d1U-hNg1kgWF0509ooo@z \
    --to=icp1994@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).