From 295b94ae2f86d338f33a00701e63679abfedfcfd Mon Sep 17 00:00:00 2001 From: Fred Wright <fw@fwright.net> Date: Fri, 1 Nov 2024 20:55:16 -0700 Subject: [PATCH] Hide atexit.c until it's fixed. This has the same effect as what the Portfile has been doing all along, but in a less kludgy manner. TESTED: Has the desired effect on the sources. --- disabled/README.txt | 17 +++++++++++++++++ {src => disabled}/atexit.c | 0 2 files changed, 17 insertions(+) create mode 100644 disabled/README.txt rename {src => disabled}/atexit.c (100%) diff --git a/disabled/README.txt b/disabled/README.txt new file mode 100644 index 0000000..b57940e --- /dev/null +++ b/disabled/README.txt @@ -0,0 +1,17 @@ +The atexit.c source has been temporarily moved here until it can be fixed. +The Portfile has been removing it all along, so this just makes the local +build consistent with the port build. Since it's been disabled since +its inception in Apr-2022, it clearly hasn't been missed much. Note that +the relevant entries in add_symbols.c remain present, but that's also true +of the way the Portfile was acting. + +It would be highly desirable to have reasonable tests for it before +fixing and reactivating it. + +The Portfile block that this replaces (based on the old filename) is: + +pre-patch { + # until upstream can be fixed, do not include atexit symbols + # under certain circumstances, infinite recursive loops can form + delete ${worksrcpath}/src/macports_legacy_atexit.c +} diff --git a/src/atexit.c b/disabled/atexit.c similarity index 100% rename from src/atexit.c rename to disabled/atexit.c -- GitLab