Files
packages/utils/hplip/patches/060-gcc15.patch
Rosen Penev 67f59576ef hplip: update to 3.25.6
Add patch to fix compilation with GCC15.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-10-17 01:34:34 +08:00

12 lines
579 B
Diff

--- a/scan/sane/ledmi.h
+++ b/scan/sane/ledmi.h
@@ -162,7 +162,7 @@ struct ledm_session
int bb_open(struct ledm_session*);
int bb_close(struct ledm_session*);
int bb_get_parameters(struct ledm_session*, SANE_Parameters*, int);
-int bb_is_paper_in_adf(); /* 0 = no paper in adf, 1 = paper in adf, -1 = error */
+int bb_is_paper_in_adf(struct ledm_session*); /* 0 = no paper in adf, 1 = paper in adf, -1 = error */
SANE_Status bb_start_scan(struct ledm_session*);
int bb_get_image_data(struct ledm_session*, int);
int bb_end_page(struct ledm_session*, int);