diff options
Diffstat (limited to 'sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-imagetool-uncompressed-python3.patch')
-rw-r--r-- | sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-imagetool-uncompressed-python3.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-imagetool-uncompressed-python3.patch b/sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-imagetool-uncompressed-python3.patch new file mode 100644 index 000000000000..28b8a6f3170f --- /dev/null +++ b/sys-boot/raspberrypi-mkimage/files/raspberrypi-mkimage-0_p20120201-imagetool-uncompressed-python3.patch @@ -0,0 +1,11 @@ +--- a/imagetool-uncompressed.py ++++ b/imagetool-uncompressed.py +@@ -46,7 +47,7 @@ + f = open(args.bootimage, "wb") + + for m in mem: +- f.write(chr(m)) ++ f.write(chr(m).encode('latin1')) + + f.write(kernel_image) + f.close() |