[sane-devel] Building backends on FreeBSD?

Torfinn Ingolfsen tingox at gmail.com
Thu Apr 30 17:29:38 BST 2020


On Thu, Apr 30, 2020 at 5:46 PM m. allan noah <kitno455 at gmail.com> wrote:
>
> You set the BACKENDS env var after the call to configure. I don't
> think that works.

Possible.
Anyway, I've fixed the error that led to the umax_pp backend failing.
Turns out that the patch (from the FreeBSD port( that I thought was
already in backend/umax_pp_low.c wasn't.
The original umax_pp_low.c has this snippet:
# ifdef HAVE_DEV_PPBUS_PP_H
  int found = 0;
  int fd;
# endif
the patch for the FreeBSD port adds this snippet
# ifdef HAVE_DEV_PPBUS_PPI_H
  int found = 0;
  int fd;
# endif

So now, it compiles. Sorry about the noise.
-- 
Regards,
Torfinn Ingolfsen



More information about the sane-devel mailing list