File hplip-sane-fix-compilation-with-gcc-15.patch of Package hplip

From 2b10c4e48befdb14a1271929adc310eefdd080ed Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Wed, 7 May 2025 15:28:19 +0200
Subject: [PATCH 29/33] hplip/sane: fix compilation with gcc 15

bugs.launchpad.net/hplip/+bug/2096650

src.fedoraproject.org/rpms/hplip/blob/f42/f/hplip-gcc15-stdc23.patch
---
 scan/sane/ledmi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scan/sane/ledmi.h b/scan/sane/ledmi.h
index a987c5d..484ff34 100644
--- 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);
-- 
2.52.0

openSUSE Build Service is sponsored by