Patched.
So, I got 'dai-logarithmic-caravan.patch' to apply to master, 'ai-logarithmic-caravan.patch' to apply to S3_1, and '3.0-ai-logarithmic-caravan.patch' to apply to S3_0.
Is that the way they are meant to be used?
As I can remember, dai-logarithmic-caravan.patch is for 3.1 as the another depends on unit type patch.
diffing between the patch files themselves show that the only difference between original 'ai-logarithmic-caravan.patch' (marked as 'master' patch) and latest 'dai-logarithmic-caravan.patch' (marked as 'master' patch) is in the context, not in the lines they change. So the only functionally different patch is '3.0-ai-logarithmic-caravan.patch' (marked as '3.0 patch').
Use more appropriate approximation for CBS_LOGARITHMIC.