strace: Fix aarch64 build if gawk is installed
[termux-packages] / packages / binutils / gold_layout_printf_cast.patch
1 diff -u -r ../binutils-2.24/gold/layout.cc ./gold/layout.cc
2 --- ../binutils-2.24/gold/layout.cc 2013-11-04 16:33:39.000000000 +0100
3 +++ ./gold/layout.cc 2014-02-12 18:03:07.000000000 +0100
4 @@ -3031,7 +3031,7 @@
5 gold_error(_("/dev/urandom: read failed: %s"), strerror(errno));
6 else if (static_cast<size_t>(got) != uuidsz)
7 gold_error(_("/dev/urandom: expected %zu bytes, got %zd bytes"),
8 - uuidsz, got);
9 + uuidsz, (signed size_t) got);
10 }
11
12 desc.assign(buffer, uuidsz);