diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2022-02-13 14:01:05 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2022-03-10 19:53:43 +0000 |
commit | 7f2fdcb022ca2f4ff3f34829a4539463bdfd390d (patch) | |
tree | 1742f2391ef251a0eae98092d1d3fc1ec7bf0120 /sysutils/dtc | |
parent | d7277abb83fad9e3a348d158f9bf9cd79853a922 (diff) | |
download | ports-7f2fdcb022ca2f4ff3f34829a4539463bdfd390d.tar.gz ports-7f2fdcb022ca2f4ff3f34829a4539463bdfd390d.zip |
Diffstat (limited to 'sysutils/dtc')
-rw-r--r-- | sysutils/dtc/files/patch-libfdt_fdt__rw.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/dtc/files/patch-libfdt_fdt__rw.c b/sysutils/dtc/files/patch-libfdt_fdt__rw.c new file mode 100644 index 000000000000..2c0bc333f16f --- /dev/null +++ b/sysutils/dtc/files/patch-libfdt_fdt__rw.c @@ -0,0 +1,11 @@ +--- libfdt/fdt_rw.c.orig 2020-03-04 06:14:58 UTC ++++ libfdt/fdt_rw.c +@@ -435,7 +435,7 @@ int fdt_open_into(const void *fdt, void *buf, int bufs + return struct_size; + } + +- if (can_assume(LIBFDT_ORDER) | ++ if (can_assume(LIBFDT_ORDER) || + !fdt_blocks_misordered_(fdt, mem_rsv_size, struct_size)) { + /* no further work necessary */ + err = fdt_move(fdt, buf, bufsize); |