ports/print/hplip/files/patch-scan_sane_orblite.c
Ben Woods 7c78a485cb print/hplip: Update to 3.19.10
print/hplip-plugin: Update to 3.19.6

Changes this release:
  https://developers.hp.com/hp-linux-imaging-and-printing/release_notes

PR:		241528
Reported by:	S Joseph <josephatwork@gmail.com>
2019-11-04 12:34:40 +00:00

28 lines
788 B
C

--- scan/sane/orblite.c.orig 2019-10-22 06:25:58 UTC
+++ scan/sane/orblite.c
@@ -315,7 +315,7 @@ orblite_open (SANE_String_Const devicename, SANE_Handl
void
orblite_close (SANE_Handle handle)
{
- return g_handle->bb_orblite_close(g_handle);
+ g_handle->bb_orblite_close(g_handle);
}
@@ -331,6 +331,7 @@ if (option >= optCount && option < optLast)
return &g_handle->Options[option];
}
//return g_handle->bb_orblite_get_option_descriptor(g_handle, option);
+ return NULL;
}
@@ -372,7 +373,7 @@ orblite_read (SANE_Handle handle, SANE_Byte * data, SA
void
orblite_cancel (SANE_Handle handle)
{
- return g_handle->bb_orblite_cancel(g_handle);
+ g_handle->bb_orblite_cancel(g_handle);
}
////// sane_set_io_mode, get_select_fd, strstatus - UNIMPLEMENTED /////////////