Patch to encourage third-parties to compile own packages instead of using hosted by Termux. diff -uNr dash-0.5.11.2/src/main.c dash-0.5.11.2.mod/src/main.c --- dash-0.5.11.2/src/main.c 2020-08-28 06:05:12.000000000 +0300 +++ dash-0.5.11.2.mod/src/main.c 2020-09-27 23:40:41.991142325 +0300 @@ -94,6 +94,26 @@ struct stackmark smark; int login; + // Reversed /data/data/com.termux/files/usr. Prevents patching with 'sed' + // by using equal-size prefixes. + const char termux_prefix_obfs[] = "rsu/selif/xumret.moc/atad/atad/"; + char termux_prefix[sizeof(termux_prefix_obfs)/sizeof(char)] = {0}; + int termux_prefix_len = sizeof(termux_prefix_obfs)/sizeof(char) - 1; + + // Decode. + for (int i=0; i