summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-05-14 19:01:47 +0000
committerjoerg <joerg@pkgsrc.org>2020-05-14 19:01:47 +0000
commitee679f7717d3ca0aeecd8feaa0992e2eb88af6d0 (patch)
tree83917ef6ea7290c16126279a20c6bcd0417740d1 /print
parent35278a29058c380abc873d0043f169bb816338f9 (diff)
downloadpkgsrc-ee679f7717d3ca0aeecd8feaa0992e2eb88af6d0.tar.gz
Don't return a value in a void function
Diffstat (limited to 'print')
-rw-r--r--print/hplip/distinfo3
-rw-r--r--print/hplip/patches/patch-prnt_hpps_hppsfilter.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/print/hplip/distinfo b/print/hplip/distinfo
index 341acb3a796..9ad2a484693 100644
--- a/print/hplip/distinfo
+++ b/print/hplip/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.37 2020/01/04 04:27:01 khorben Exp $
+$NetBSD: distinfo,v 1.38 2020/05/14 19:01:47 joerg Exp $
SHA1 (hplip-3.19.12.tar.gz) = 3d3cffb0808900ab4134df2acc246f22fb39aad7
RMD160 (hplip-3.19.12.tar.gz) = c9e24b31dd51b2f1759e4f70c1c8617b49ace7c7
@@ -14,5 +14,6 @@ SHA1 (patch-prnt_hpcups_HPCupsFilter.cpp) = 19a26044ce24433b0188c243925b4028bc38
SHA1 (patch-prnt_hpijs_context2.cpp) = f81148c1c334a9074453b27ac055833cd1669bd0
SHA1 (patch-prnt_hpijs_foomatic-rip-hplip) = c37ed4beda5a84fac65484d11af55bf80b3f9f7c
SHA1 (patch-prnt_hpijs_hjzjscolor.cpp) = 5ca9c828ba4aff17a54a803d79c2dc169975d50c
+SHA1 (patch-prnt_hpps_hppsfilter.c) = 5a3e7f3f5504fb88d58cf2b79fa138066859aa00
SHA1 (patch-protocol_discovery_mdns.c) = e2ca43f6ab13fe2124a38bcc0eff292a57b34b06
SHA1 (patch-scan.py) = b58ffdd4811b8b20973a07f3b9f60174a96beed4
diff --git a/print/hplip/patches/patch-prnt_hpps_hppsfilter.c b/print/hplip/patches/patch-prnt_hpps_hppsfilter.c
new file mode 100644
index 00000000000..9be973ea1eb
--- /dev/null
+++ b/print/hplip/patches/patch-prnt_hpps_hppsfilter.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-prnt_hpps_hppsfilter.c,v 1.1 2020/05/14 19:01:48 joerg Exp $
+
+--- prnt/hpps/hppsfilter.c.orig 2020-05-10 23:16:47.425661205 +0000
++++ prnt/hpps/hppsfilter.c
+@@ -104,7 +104,7 @@ static void open_tempbookletfile(char *m
+ if(ptempbooklet_file == NULL)
+ {
+ fprintf(stderr, "ERROR: Unable to open temp file %s\n", temp_filename);
+- return 1;
++ return;
+ }
+ chmod(temp_filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+