first, tslib fails to build with a cross-arm toolchain: > fbutils.o: In function `open_framebuffer': > fbutils.c:(.text+0xa84): undefined reference to `rpl_malloc' (I'll attach the complete log) I found on some mailing lists that one fix is to remove the AC_FUNC_MALLOC, and it worked. The other problem is version of the .pc file: it's still 0.0 in the 1.0 release. I fixed this by changing the number in configure.ac: AC_INIT and LT_RELEASE). I did those 3 changes with sed (I'll attach the ebuild doing this), but since we have a patch archive, it's possible add two patchs too) Reproducible: Always Steps to Reproduce: 1. emerge tslib on cross- arm-angstrom-linux-gnueabi-gcc Actual Results: It fails by an error on rpl_malloc, and when it's fixed, it's not the right version. Expected Results: Compiles successfully and install with the good version number.
Created attachment 163948 [details] emerge log where compilation fails with rpl_malloc
Created attachment 163950 [details] Working tslib-1.0 ebuild
This was solved in -r1