Index | Thread | Search

From:
Brad Smith <brad@comstyle.com>
Subject:
Re: UPDATE: flashrom 1.8.0
To:
Theo Buehler <tb@theobuehler.org>
Cc:
ports@openbsd.org, sthen@openbsd.org
Date:
Fri, 4 Sep 2026 23:19:09 -0400

Download raw body.

Thread
On 2026-09-03 6:25 a.m., Theo Buehler wrote:
> On Tue, Sep 01, 2026 at 01:17:36AM -0400, Brad Smith wrote:
>> Here is an update to flashrom 1.8.0.
>>
>> Fixes building on big endian archs.
>>
>> https://raw.githubusercontent.com/flashrom/flashrom/refs/heads/main/doc/release_notes/v_1_8.rst
> Brad's update does build on sparc64. Whether it works is another
> question. Some tests pass, others SIGBUS and some fail in a different
> way.

https://github.com/flashrom/flashrom/commit/929de39f0e41eaacc4b7a923fa5f5c81a61e597f

 From the commit, there was big endian support but someone came along 
and introduced a commit
that broke building on big endian archs.

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/flashrom/Makefile,v
> retrieving revision 1.28
> diff -u -p -u -p -r1.28 Makefile
> --- Makefile	4 Mar 2026 09:19:43 -0000	1.28
> +++ Makefile	1 Sep 2026 05:14:27 -0000
> @@ -2,8 +2,7 @@ COMMENT=	flash ROM programmer for BIOS e
>   
>   SHARED_LIBS +=  flashrom                  0.0 # 0.0
>   
> -V=		1.7.0
> -REVISION=	0
> +V=		1.8.0
>   DISTNAME=	flashrom-v${V}
>   PKGNAME=	flashrom-${V}
>   EXTRACT_SUFX=	.tar.xz
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/flashrom/distinfo,v
> retrieving revision 1.8
> diff -u -p -u -p -r1.8 distinfo
> --- distinfo	2 Mar 2026 18:39:45 -0000	1.8
> +++ distinfo	1 Sep 2026 05:14:27 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (flashrom-v1.7.0.tar.xz) = Qyis6YM/fv58M0vdc0gs3oKGgZgmzAAUnoP7qWvzq08=
> -SIZE (flashrom-v1.7.0.tar.xz) = 5298400
> +SHA256 (flashrom-v1.8.0.tar.xz) = ZUycYXRcJQzTtczQ5W/EPudpgPkqXgeEIEIGOdZpdaI=
> +SIZE (flashrom-v1.8.0.tar.xz) = 5299524
> Index: patches/patch-meson_build
> ===================================================================
> RCS file: /cvs/ports/sysutils/flashrom/patches/patch-meson_build,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 patch-meson_build
> --- patches/patch-meson_build	2 Mar 2026 18:39:45 -0000	1.2
> +++ patches/patch-meson_build	1 Sep 2026 05:14:27 -0000
> @@ -1,7 +1,7 @@
>   Index: meson.build
>   --- meson.build.orig
>   +++ meson.build
> -@@ -156,7 +156,7 @@ libpci     = dependency('libpci', required : group_pci
> +@@ -148,7 +148,7 @@ libpci     = dependency('libpci', required : group_pci
>    libusb1    = dependency('libusb-1.0', required : group_usb)
>    libftdi1   = dependency('libftdi1', required : group_ftdi)
>    libjaylink = dependency('libjaylink', required : group_jlink, version : '>=0.3.0')