From: Calandracas606 <Calandracas606@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] flashrom: update to 1.3.0.
Date: Fri, 01 Dec 2023 23:22:55 +0100 [thread overview]
Message-ID: <20231201222255.hxAzxYcibVuMM0upL_hgoF1v7e4YfFw99Aggp_laFWc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47526@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages flashrom-1.3.0
https://github.com/void-linux/void-packages/pull/47526
flashrom: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/47526.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flashrom-1.3.0-47526.patch --]
[-- Type: text/x-diff, Size: 1884 bytes --]
From 8731a3f4ae167baca095a1cf3179d98595c80589 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Fri, 1 Dec 2023 16:57:07 -0500
Subject: [PATCH] flashrom: update to 1.3.0.
---
srcpkgs/flashrom/template | 27 +++++----------------------
1 file changed, 5 insertions(+), 22 deletions(-)
diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template
index 6cf2e4e25cd10..849ffa47b6863 100644
--- a/srcpkgs/flashrom/template
+++ b/srcpkgs/flashrom/template
@@ -1,34 +1,17 @@
# Template file for 'flashrom'
pkgname=flashrom
-version=1.2
-revision=3
+version=1.3.0
+revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
-makedepends="pciutils-devel libusb-compat-devel libftdi1-devel"
+makedepends="pciutils-devel libusb-compat-devel libftdi1-devel eudev-libudev-devel zlib-devel"
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.flashrom.org"
distfiles=https://github.com/flashrom/flashrom/archive/v$version.tar.gz
-checksum=a5bac412cefb87bb426912fed46ccc38799d088a9b92dbe7bac38c5df016d9b2
+checksum=91d3ae239e435682561966350d00890b8bf5ae1a947af1f647198aa391196890
post_patch() {
- # The Makefile detection is fragile!!!
- # It doesn't defend against __attribute__("something")
- case "$XBPS_TARGET_MACHINE" in
- x86_64* | i686*) _arch=x86 ;;
- aarch64* | arm*) _arch=arm ;;
- ppc*) _arch=ppc ;;
- mips*) _arch=mips ;;
- *) msg_error "Unknown arch\n" ;;
- esac
- case "$XBPS_TARGET_ENDIAN" in
- be) _endian=big ;;
- le) _endian=little ;;
- esac
- vsed -i -e 's/^override TARGET_OS :=.*/TARGET_OS := Linux/' \
- -e "s/^override ARCH :=.*/ARCH := $_arch/" \
- -e "s/^override ENDIAN :=.*/ENDIAN := $_endian/" \
- -e 's/sbin/bin/' \
- Makefile
+ vsed -i 's/sbin/bin/' Makefile
}
next prev parent reply other threads:[~2023-12-01 22:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-01 22:02 [PR PATCH] " Calandracas606
2023-12-01 22:20 ` [PR PATCH] [Updated] " Calandracas606
2023-12-01 22:22 ` Calandracas606 [this message]
2023-12-02 7:51 ` [PR PATCH] [Merged]: " classabbyamp
-- strict thread matches above, loose matches on Subject: below --
2023-04-07 23:49 [PR PATCH] " Johnnynator
2023-04-07 23:54 ` [PR PATCH] [Updated] " Johnnynator
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=20231201222255.hxAzxYcibVuMM0upL_hgoF1v7e4YfFw99Aggp_laFWc@z \
--to=calandracas606@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).