mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 08:02:38 -05:00
a2f2513724
* 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.
19 lines
587 B
Diff
19 lines
587 B
Diff
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"
|