[macports-legacy-support] branch master updated (ed58217 -> e7ff5e4)

Christopher Nielsen mascguy at macports.org
Sun Jul 21 01:10:17 UTC 2024


Christopher Nielsen (mascguy) pushed a change to branch master
in repository macports-legacy-support.

    from ed58217  Makefile: Implement TEST_ARGS option.
     new 9ac63a3  sdkversion.h: Make ...MIN_REQUIRED hack optional.
     new adaaf2c  Availability*.h: Adjust "recursion" handling.
     new b8e7f98  Add sys/cdefs.h wrapper, and tests.
     new 042b096  Convert some feature flags to the new scheme.
     new ca584e0  Remove superfluous ifndefs from some headers.
     new a163d58  checksdkversion: Fix bug with assumed (default) SDK.
     new b6f68a5  Convert most remaining feature flags to new scheme.
     new 56c0a5a  time.h: Make clockid_t an enum, as in SDK.
     new 1103ed6  Rework sysconf flags to fit new scheme.
     new 22d4b01  sdkversion.h: Respect SDK 11.x+ version non-definitions.
     new 1c684a5  st?cpy_chk: Make normal output more concise.
     new beb7467  Add __DARWIN_C_LEVEL conditionals.
     new e7ff5e4  Implement __DARWIN_C_LEVEL test cases.

The 13 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Makefile                              |  15 +-
 include/Availability.h                |  23 ++-
 include/AvailabilityInternal.h        |  14 +-
 include/MacportsLegacySupport.h       | 178 +++++++++++++++--------
 include/_macports_extras/sdkversion.h | 119 +++++++++++++--
 include/copyfile.h                    |   8 +-
 include/dirent.h                      |  15 +-
 include/math.h                        |  15 +-
 include/netdb.h                       |  11 +-
 include/os/lock.h                     |  17 ++-
 include/pthread.h                     |   6 +-
 include/pthread_impl.h                |  10 +-
 include/stdio.h                       |  26 ++--
 include/stdlib.h                      |   4 +-
 include/string.h                      |  29 +++-
 include/strings.h                     |  18 ++-
 include/sys/cdefs.h                   |  59 ++++++++
 include/sys/fcntl.h                   |  31 ++--
 include/sys/fsgetpath.h               |  25 ++--
 include/sys/queue.h                   |   4 -
 include/sys/random.h                  |  13 +-
 include/sys/stat.h                    |  51 ++++---
 include/sys/stdio.h                   |  18 ++-
 include/sys/time.h                    |  13 +-
 include/sys/unistd.h                  |  49 +++++--
 include/time.h                        |  79 +++++-----
 include/unistd.h                      |  24 ++--
 include/wchar.h                       |  19 ++-
 include/xlocale/_wchar.h              |  19 ++-
 manual_tests/cdefsinfo.c              | 145 +++++++++++++++++++
 manual_tests/checksdkversion.c        |  10 +-
 manual_tests/darwin_c.c               | 263 ++++++++++++++++++++++++++++++++++
 manual_tests/darwin_c_199309.c        |   8 ++
 manual_tests/darwin_c_200809.c        |   8 ++
 manual_tests/darwin_c_full.c          |   9 ++
 src/add_symbols.c                     |  24 ++--
 src/atcalls.c                         |   4 +-
 src/best_fchdir.c                     |   7 +-
 src/common-priv.h                     |  24 ++--
 src/dirfuncs_compat.c                 |   4 +-
 src/dirfuncs_compat.h                 |   6 +-
 src/dprintf.c                         |   4 +-
 src/fdopendir.c                       |   5 +-
 src/fmemopen.c                        |   4 +-
 src/fsetattrlist.c                    |   5 +-
 src/fsgetpath.c                       |  10 +-
 src/getdelim.c                        |   7 +-
 src/getentropy.c                      |   4 +-
 src/getline.c                         |   7 +-
 src/lchmod.c                          |   4 +-
 src/lutimes.c                         |   5 +-
 src/macports_legacy_atexit.c          |   4 +-
 src/macports_legacy_copyfile.c        |   4 +-
 src/macports_legacy_os_unfair_lock.c  |   4 +-
 src/macports_legacy_realpath.c        |   4 +-
 src/macports_legacy_symbol_aliases.c  |  15 +-
 src/macports_legacy_sysconf.c         |  20 +--
 src/memmem.c                          |   7 +-
 src/memstream.c                       |   4 +-
 src/posix_memalign_emulation.c        |   5 +-
 src/pthread_get_stacksize_np.c        |   5 +-
 src/pthread_setname_np.c              |   5 +-
 src/setattrlistat.c                   |   6 +-
 src/sincos.c                          |   4 +-
 src/strings.c                         |  13 +-
 src/strndup.c                         |   5 +-
 src/strnlen.c                         |   5 +-
 src/time.c                            |   9 +-
 src/utimensat.c                       |   4 +-
 src/wcpcpy_family.c                   |   6 +-
 src/wcscasecmp_family.c               |   6 +-
 src/wcsdup.c                          |   8 +-
 src/wcsnlen.c                         |   4 +-
 test/test_dirfuncs_compat.c           |   6 +-
 test/test_stpncpy_chk.c               |  46 +++++-
 test/test_strncpy_chk.c               |  46 +++++-
 tools/getversionmacros.sh             |   6 +
 77 files changed, 1285 insertions(+), 445 deletions(-)
 create mode 100644 include/sys/cdefs.h
 create mode 100644 manual_tests/cdefsinfo.c
 create mode 100644 manual_tests/darwin_c.c
 create mode 100644 manual_tests/darwin_c_199309.c
 create mode 100644 manual_tests/darwin_c_200809.c
 create mode 100644 manual_tests/darwin_c_full.c
 create mode 100755 tools/getversionmacros.sh



More information about the macports-changes mailing list