diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /sysutils/flashrom/files/patch-libflashrom.c | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'sysutils/flashrom/files/patch-libflashrom.c')
| -rw-r--r-- | sysutils/flashrom/files/patch-libflashrom.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/flashrom/files/patch-libflashrom.c b/sysutils/flashrom/files/patch-libflashrom.c new file mode 100644 index 000000000000..e43530b69588 --- /dev/null +++ b/sysutils/flashrom/files/patch-libflashrom.c @@ -0,0 +1,18 @@ +--- libflashrom.c.orig 2025-11-05 09:42:11 UTC ++++ libflashrom.c +@@ -455,6 +455,7 @@ bool flashrom_flag_get(const struct flashrom_flashctx + } + } + ++#ifdef __FLASHROM_LITTLE_ENDIAN__ + static int compare_region_with_dump(const struct romentry *const a, const struct romentry *const b) + { + if (a->region.start != b->region.end +@@ -463,6 +464,7 @@ static int compare_region_with_dump(const struct romen + return 1; + return 0; + } ++#endif + + int flashrom_layout_read_from_ifd(struct flashrom_layout **const layout, struct flashctx *const flashctx, + const void *const dump, const size_t len) |
