Files
ShengYi Hung c28169b1b6 dev-python/nanobind: Backport missing include fix
Without this, it fails to build on libcxx.

Signed-off-by: ShengYi Hung <aokblast@FreeBSD.org>
Merges: https://github.com/gentoo/gentoo/pull/46856
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2026-10-02 22:15:17 +02:00

14 lines
431 B
Diff

https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763
From 942e75d927e3884e56d607e77c026bb4a72a4763 Mon Sep 17 00:00:00 2001
From: Wenzel Jakob <wenzel.jakob@epfl.ch>
Date: Sun, 20 Sep 2026 22:29:38 +0200
Subject: [PATCH] Add missing ``<cstdio>`` include
--- a/include/nanobind/nanobind.h
+++ b/include/nanobind/nanobind.h
@@ -36,2 +36,3 @@
#include <cstdint>
+#include <cstdio>
#include <cstdlib>