manually inject PYTHON_INCLUDEDIR. Fix needed to build against Python 3.13. Fixes build in Staging_A (python 3.13) - and seems to address the real reaason why PYTHON_INCLUDEDIR needed to be injected OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=262
13 lines
322 B
Diff
13 lines
322 B
Diff
Index: hplip-3.20.9/scan/sane/http.c
|
|
===================================================================
|
|
--- hplip-3.20.9.orig/scan/sane/http.c
|
|
+++ hplip-3.20.9/scan/sane/http.c
|
|
@@ -33,6 +33,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <unistd.h>
|
|
#include <string.h>
|
|
#include <syslog.h>
|
|
#include <ctype.h>
|