Created attachment 220283 [details] a patch to remove the Linuxism The port compiles fine due to C's implicit declaration of missing functions, but the backend fails to load with a dynamic linker error. The problem is the Linux-specific function isfdtype. The isfdtype manpage says, "Portable applications should use fstat(3) instead," so here is a patch that does that. This patch is ready to go into the files directory in the port, but I'm not quite sure how to modify the Makefile to use this patch but not the patches that are already there but only for version 1.15.
^Triage: assign to maintainer (committer).
I cannot reproduce the problem here. What is the error you see? BTW, fstat() != isfdtype(). I need more information. Post the output of the following, please. uname -a file /usr/local/lib/sane/libsane-epkowa.so.1 ldd /usr/local/lib/sane/libsane-epkowa.so.1