This is the patch I used for Leptonica 1.74. It should work fine for earlier versions. Upstream used a different approach for addressing the problem in version 1.75.
do-not-mess-with-paths.diff.gz
Description: GNU Zip compressed data
This is the patch I used for Leptonica 1.74. It should work fine for earlier versions. Upstream used a different approach for addressing the problem in version 1.75.
do-not-mess-with-paths.diff.gz
Description: GNU Zip compressed data