summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-scan_sane_orblite.c
diff options
context:
space:
mode:
authorBen Woods <woodsb02@FreeBSD.org>2019-11-04 12:34:40 +0000
committerBen Woods <woodsb02@FreeBSD.org>2019-11-04 12:34:40 +0000
commit7c78a485cbc8adb1d1a0bed71ba7b7250e2f1ded (patch)
tree746893142698cf9af2587f4bd7414aadb3b60349 /print/hplip/files/patch-scan_sane_orblite.c
parentRemove "palm" from VALID_CATEGORIES in bsd.port.mk after r516635 (diff)
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>
Diffstat (limited to 'print/hplip/files/patch-scan_sane_orblite.c')
-rw-r--r--print/hplip/files/patch-scan_sane_orblite.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/print/hplip/files/patch-scan_sane_orblite.c b/print/hplip/files/patch-scan_sane_orblite.c
new file mode 100644
index 000000000000..eee188971cc6
--- /dev/null
+++ b/print/hplip/files/patch-scan_sane_orblite.c
@@ -0,0 +1,28 @@
+--- 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 /////////////