head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.24 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.22 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.20 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.18 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.16 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.14 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.12 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.10 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.8 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.6 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @ * @; 1.2 date 2026.10.16.17.08.35; author adam; state dead; branches; next 1.1; commitid o6Jq8cQYuv58YIZG; 1.1 date 2023.11.10.09.48.40; author nia; state Exp; branches; next ; commitid t6NFHq2XMa5yX2ME; desc @@ 1.2 log @python310 py310-html-docs: removed, end of life @ text @$NetBSD: patch-Modules_clinic_posixmodule.c.h,v 1.1 2023/11/10 09:48:40 nia Exp $ posix.copyfile does not exist on Tiger. Python 3.8's posix._fcopyfile implementation unconditionally uses , which only exists on Leopard ane newer. This patch removes posix._fcopyfile on Tiger - this is okay because the rest of the stdlib uses posix._fcopyfile only conditionally after checking that the function exists (non-Apple systems don't have posix._fcopyfile either). thanks to @@dgelessus https://github.com/macports/macports-ports/pull/5987 --- Modules/clinic/posixmodule.c.h.orig 2023-08-24 12:46:25.000000000 +0000 +++ Modules/clinic/posixmodule.c.h @@@@ -5270,7 +5270,7 @@@@ exit: #endif /* defined(HAVE_SENDFILE) && !defined(__APPLE__) && !(defined(__FreeBSD__) || defined(__DragonFly__)) */ -#if defined(__APPLE__) +#if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 1050 PyDoc_STRVAR(os__fcopyfile__doc__, "_fcopyfile($module, in_fd, out_fd, flags, /)\n" @ 1.1 log @python39, python310: Fixes for Mac OS X 10.4 via MacPorts. @ text @d1 1 a1 1 $NetBSD$ @