meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch
Alexander Kanavin d595b18e46
python3-grpcio: update 1.56.2 -> 1.59.3
This is needed for python 3.12 compatibility.

Drop 0001-direct_mmap-Use-off_t-on-linux.patch as
issue resolved upstream.

Other dropped patches are all due to the code being significantly refactored upstream;
if the issues persist, please write updated patches.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-18 22:17:21 -08:00

26 lines
635 B
Diff

From 6ede7d01b18a4d9eeaccd25f5c1ab9985cb65307 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 12 Feb 2023 21:25:04 -0800
Subject: [PATCH] zlib: Include unistd.h for open/close C APIs
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
third_party/zlib/gzguts.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/third_party/zlib/gzguts.h b/third_party/zlib/gzguts.h
index 57faf37..3c700c2 100644
--- a/third_party/zlib/gzguts.h
+++ b/third_party/zlib/gzguts.h
@@ -19,6 +19,7 @@
#endif
#include <stdio.h>
+#include <unistd.h>
#include "zlib.h"
#ifdef STDC
# include <string.h>