From 9ab82d60d82105cd57c38a2d3d2b00edfb534148 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Fri, 26 May 2006 23:50:11 +0000 Subject: Fix port to work on RELENG_4. Submitted by: Anish Mistry (maintainer) --- print/hplip/files/patch-backend_hp_hp.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 print/hplip/files/patch-backend_hp_hp.c (limited to 'print/hplip/files/patch-backend_hp_hp.c') diff --git a/print/hplip/files/patch-backend_hp_hp.c b/print/hplip/files/patch-backend_hp_hp.c new file mode 100644 index 000000000000..8c13c66c2590 --- /dev/null +++ b/print/hplip/files/patch-backend_hp_hp.c @@ -0,0 +1,19 @@ +--- backend/hp/hp.c.orig Tue May 23 15:18:48 2006 ++++ backend/hp/hp.c Tue May 23 15:19:33 2006 +@@ -427,6 +427,7 @@ + int len, vstatus, cnt; + char buf[BUFFER_SIZE+HEADER_SIZE]; + MsgAttributes ma; ++ int hd=-1, channel=-1, n, total, retry=0, size; + + if (argc > 1) + { +@@ -474,8 +475,6 @@ + } + copies = atoi(argv[4]); + } +- +- int hd=-1, channel=-1, n, total, retry=0, size; + + hplip_Init(); + -- cgit v1.2.3