Error was:
src/lib/compat/sodium/sodium_utils.cpp:124:44: error: no member named 'calloc' in namespace 'std'
uint8_t* p = static_cast<uint8_t*>(std::calloc(size + sizeof(len), 1));
~~~~~^
src/lib/compat/sodium/sodium_utils.cpp:137:9: error: no type named 'free' in namespace 'std'
std::free(p);
~~~~~^
* update to 2.18.2
* update legacysupport PG to 1.1
* set legacysupport.newest_darwin_requires_legacy to 15 for clock_gettime & getentropy
* use python 3.9 instead of 2.7
* compile with lzma & sqlite3 support
* remove obsolete patches
* add patch to fix ld flags order. fixes build when an older version of botan is already installed
* add patch to fix missing sys/types.h
Generated with the following command:
rg -l -g Portfile ':openssl\b' ../macports-ports | grep -v '/lang/php/' | grep -v '/aqua/qt5' | xargs ./revbump-ports.sh
revbump-ports.sh is from https://github.com/yan12125/revbump-ports/tree/4a47ad53d5bc1553b86f48dfbf946bc9a466306c
Skipping lang/php and aqua/qt5 as only php*-{ftp,openssl} and
qt*-qtbase subports need revbumping, respectively.
With MacPorts' python27, sys.executable is /opt/local/Library/Frameworks/
Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python,
and thus python_exe is "Python". This issue is not visible on
systems with the following conditions:
1. MacPorts is installed on a case-insensitive filesystem
2. python_select is enabled
If both conditions hold, /opt/local/bin/python will be executed when a
Makefile runs Python.
This patch forces absolute paths for python executables.
No revbump as it's a build fix.