diff options
author | Doug Barton <dougb@FreeBSD.org> | 2006-05-26 23:50:11 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2006-05-26 23:50:11 +0000 |
commit | 9ab82d60d82105cd57c38a2d3d2b00edfb534148 (patch) | |
tree | 128cf726daa92cd9ce854d84bb2725df07e1cb8d /print/hplip/files/patch-backend_hp_hp.c | |
parent | Update portsnap to version 1.1, to reflect three months of development in (diff) |
Fix port to work on RELENG_4.
Submitted by: Anish Mistry <amistry@am-productions.biz> (maintainer)
Notes
Notes:
svn path=/head/; revision=163558
Diffstat (limited to 'print/hplip/files/patch-backend_hp_hp.c')
-rw-r--r-- | print/hplip/files/patch-backend_hp_hp.c | 19 |
1 files changed, 19 insertions, 0 deletions
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(); + |