2 ms·
> Sometimes you can't compile without excessive amount of work even if you have the source code! I've had to do this a couple of times (usually due to fraudule
by a1369209993 8y ago
> Sometimes you can't compile without excessive amount of work even if you have the source code!
I've had to do this a couple of times (usually due to fraudulent transitive dependecies[0]). Eg:
[to make glib applications display kilo-,mega-,etc in multiples of 2^10]
change 4 bytes in g_format_size_full
from: 41 F6 C4 02 test r12b 0x02 # if(flags&G_FORMAT_SIZE_IEC_UNITS)
into: 48 83 FB 00 cmp rbx byte(+0x00) # if(size!=0)
0: eg, libfoo build-depends on X in libbar, and Y in libbar depends on something evil like systemd