summaryrefslogtreecommitdiffstats
path: root/source/ap/hplip/hplip-scan-hpaio-include.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-05-12 19:10:12 +0000
committer Eric Hameleers <alien@slackware.com>2024-05-12 21:28:58 +0200
commitabc3e67678d77c43fe739af3ed812d558cc83435 (patch)
treea9e061d3fd40a4bff2bf8e46d18117da5179abbd /source/ap/hplip/hplip-scan-hpaio-include.patch
parentafc0f1e9aaa780f00b61d8c42b3a77833fbbaff8 (diff)
downloadcurrent-abc3e67678d77c43fe739af3ed812d558cc83435.tar.gz
current-abc3e67678d77c43fe739af3ed812d558cc83435.tar.xz
Sun May 12 19:10:12 UTC 202420240512191012
a/less-654-x86_64-1.txz: Upgraded. d/ninja-1.12.1-x86_64-1.txz: Upgraded. n/whois-5.5.23-x86_64-1.txz: Upgraded. Updated the .sc, .********* (.xn--yfro4i67o, Singapore) and .********************************* (.xn--clchc0ea0b2g2a9gcd, Singapore) TLD servers. extra/bittornado/bittornado-0.3.18-noarch-3.txz: Removed. Obsolete and based on python2.
Diffstat (limited to 'source/ap/hplip/hplip-scan-hpaio-include.patch')
-rw-r--r--source/ap/hplip/hplip-scan-hpaio-include.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/ap/hplip/hplip-scan-hpaio-include.patch b/source/ap/hplip/hplip-scan-hpaio-include.patch
new file mode 100644
index 000000000..79d1d94b7
--- /dev/null
+++ b/source/ap/hplip/hplip-scan-hpaio-include.patch
@@ -0,0 +1,19 @@
+scam/sane/hpaio.c: Include orblite.h for more function prototypes
+
+Otherwise the build fails with compilers which do not support
+implicit function declarations.
+
+Submitted upstream: <https://bugs.launchpad.net/hplip/+bug/1997875>
+
+diff --git a/scan/sane/hpaio.c b/scan/sane/hpaio.c
+index d342626822fc2190..57d1ddea32fb5816 100644
+--- a/scan/sane/hpaio.c
++++ b/scan/sane/hpaio.c
+@@ -50,6 +50,7 @@
+ #include "sclpml.h"
+ #include "escl.h"
+ #include "io.h"
++#include "orblite.h"
+ #include "orblitei.h"
+
+