pkgsrc/security/libfprint/patches/patch-ab
hasso dae835be0c * Make it build with compilers not having -fgnu89-inline switch (like gcc
4.1.2 on DragonFly).
* Make it build on systems not having nonstandard ENODATA (like DragonFly).
* There is no C++ or Fortran code in this package.
2009-05-10 18:25:34 +00:00

13 lines
393 B
Text

$NetBSD: patch-ab,v 1.1 2009/05/10 18:25:34 hasso Exp $
--- libfprint/imgdev.c.orig 2009-05-10 19:55:15 +0300
+++ libfprint/imgdev.c 2009-05-10 19:55:34 +0300
@@ -175,7 +175,7 @@ int fpi_imgdev_capture(struct fp_img_dev
if (img == NULL) {
fp_err("capture succeeded but no image returned?");
- return -ENODATA;
+ return -EIO;
}
if (!unconditional && imgdrv->await_finger_off) {