summaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-10-04 13:35:46 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-10-04 14:35:18 +0200
commita2f25137241859f03e980a8e2452c1cb4db9fe43 (patch)
tree7103104fb5988efe0bdbfa82da02e70ba5e27971 /gnu/packages/patches
parent85c84b1071b0886c70abb510c80b825f5335ed84 (diff)
gnu: hplip: Update to 3.20.9 [security fixes].
* gnu/packages/cups.scm (hplip): Update to 3.20.9. [source]: Add hplip-fix-bug-1898438.patch. [arguments]: Follow upstream defaults. * gnu/packages/patches/hplip-fix-bug-1898438.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/hplip-fix-bug-1898438.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/patches/hplip-fix-bug-1898438.patch b/gnu/packages/patches/hplip-fix-bug-1898438.patch
new file mode 100644
index 0000000000..7c095f9b2a
--- /dev/null
+++ b/gnu/packages/patches/hplip-fix-bug-1898438.patch
@@ -0,0 +1,19 @@
+From: Tobias Geerinckx-Rice <me@tobias.gr>
+Date: Sun, 04 Oct 2020 13:28:49 +0200
+Subject: [PATCH] gnu: hplip: Fix non-network builds (bug #1898438)
+
+Reported as <https://bugs.launchpad.net/hplip/+bug/1898438>.
+
+diff -Naur a/scan/sane/hpaio.c b/scan/sane/hpaio.c
+--- a/scan/sane/hpaio.c 1970-01-01 01:00:01.000000000 +0100
++++ b/scan/sane/hpaio.c 2020-10-04 13:26:34.665244052 +0200
+@@ -36,7 +36,9 @@
+ #include <string.h>
+ #include <cups/cups.h>
+ #include "hpmud.h"
++#ifdef HAVE_LIBNETSNMP
+ #include "avahiDiscovery.h"
++#endif
+ #include "hp_ipp.h"
+ #include "soap.h"
+ #include "soapht.h"