<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a0075a977db17ab5835f6c3f260cc8889ce96987">https://github.com/macports/macports-ports/commit/a0075a977db17ab5835f6c3f260cc8889ce96987</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new a0075a977db flashrom: De-fuzz patches
</span>a0075a977db is described below

<span style='display:block; white-space:pre;color:#808000;'>commit a0075a977db17ab5835f6c3f260cc8889ce96987
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Mar 6 03:10:23 2023 -0600

<span style='display:block; white-space:pre;color:#404040;'>    flashrom: De-fuzz patches
</span>---
 sysutils/flashrom/Portfile                              |  1 -
 sysutils/flashrom/files/fix_m1.patch                    | 13 +++----------
 .../flashrom/files/patch-ich_descriptors_tool.c.patch   | 17 +++--------------
 3 files changed, 6 insertions(+), 25 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/flashrom/Portfile b/sysutils/flashrom/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d10d4038835..3ca0988ddb6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/flashrom/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/flashrom/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,6 @@ PortSystem          1.0
</span> name                flashrom
 version             1.3.0
 categories          sysutils
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           darwin
</span> license             GPL-2
 maintainers         {ra1nb0w @ra1nb0w} openmaintainer
 description         universal flash programming utility
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/flashrom/files/fix_m1.patch b/sysutils/flashrom/files/fix_m1.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 9b3cad5a71f..ba2ba641ad4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/flashrom/files/fix_m1.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/flashrom/files/fix_m1.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,18 +3,11 @@ From: Allen Reese <areese999@apple.com>
</span> Date: Tue, 29 Jun 2021 14:24:55 -0700
 Subject: [PATCH] Add support for building on Apple Silicon by setting
  __FLASHROM_LITTLE_ENDIAN__ when arm64 && __APPLE__
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- platform.h | 2 ++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 2 insertions(+)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/platform.h b/platform.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 04f1ab1b9..744c1a24c 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- platform.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ platform.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- platform.h.orig        2019-12-14 09:29:21.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ platform.h     2023-03-06 03:05:50.000000000 -0600
</span> @@ -120,6 +120,8 @@
  #define __FLASHROM_BIG_ENDIAN__ 1
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #elif defined (__ARMEL__) || defined (__LITTLE_ENDIAN__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined (__ARMEL__)
</span>  #define __FLASHROM_LITTLE_ENDIAN__ 1
 +#elif defined (__APPLE__)
 +#define __FLASHROM_LITTLE_ENDIAN__ 1
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/flashrom/files/patch-ich_descriptors_tool.c.patch b/sysutils/flashrom/files/patch-ich_descriptors_tool.c.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index cd842b862e0..fb72d119150 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/flashrom/files/patch-ich_descriptors_tool.c.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/flashrom/files/patch-ich_descriptors_tool.c.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,25 +8,14 @@ Signed-off-by: Richard Hughes <richard@hughsie.com>
</span> Reviewed-on: https://review.coreboot.org/c/30405
 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
 Reviewed-by: Nico Huber <nico.h@gmx.de>
<span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- util/ich_descriptors_tool/ich_descriptors_tool.c | 2 +-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(limited to 'util/ich_descriptors_tool/ich_descriptors_tool.c')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/util/ich_descriptors_tool/ich_descriptors_tool.c b/util/ich_descriptors_tool/ich_descriptors_tool.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index aec97d0f..aa857c88 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- util/ich_descriptors_tool/ich_descriptors_tool.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ util/ich_descriptors_tool/ich_descriptors_tool.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -150,7 +150,7 @@ int main(int argc, char *argv[])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- util/ich_descriptors_tool/ich_descriptors_tool.c.orig  2019-10-04 09:35:20.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ util/ich_descriptors_tool/ich_descriptors_tool.c       2023-03-06 03:05:50.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -152,7 +152,7 @@
</span>   const char *fn = NULL;
        const char *csn = NULL;
        enum ich_chipset cs = CHIPSET_ICH_UNKNOWN;
 -      struct ich_descriptors desc = { 0 };
 +      struct ich_descriptors desc = {{ 0 }};
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span>  
        while ((opt = getopt(argc, argv, "df:c:")) != -1) {
                switch (opt) {
<span style='display:block; white-space:pre;background:#ffe0e0;'>--- 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cgit v1.2.1
</span></pre><pre style='margin:0'>

</pre>