Commit Diff


commit - 8baf059b5b2327078ac5536a605ad2112a00bafd
commit + 117843e4760b30932e07ec1faf71e0d8e8cc3fef
blob - 444962dd1cbdb1e71a50917fadcb7d3abef833c0
blob + 01d447d6b96974a584ca3a732fdef62fa2cdea54
--- .github/ci/before-install.sh
+++ .github/ci/before-install.sh
@@ -25,12 +25,14 @@ if [ "$CIRRUS_OS" = "freebsd" ]; then
 		pkgconf \
 		git \
 		libevent \
+		libretls \
 		coreutils
 fi
 
 if [ "$CIRRUS_OS" = "darwin" ]; then
 	brew install autoconf \
 		automake \
+		bison \
 		pkg-config \
 		ncurses \
 		ossp-uuid \
blob - 178dd8ad8004de8363dd292f6a28d820a253e0ff
blob + 58dab83470526abb153cee6a5b7f6b128e0e5c17
--- .github/ci/build.sh
+++ .github/ci/build.sh
@@ -2,10 +2,10 @@
 
 [ "$CIRRUS_OS" = "darwin" ] && {
 	export PATH="/usr/local/opt/bison/bin:$PATH"
-	export LDFLAGS="-L/usr/local/opt/ncurses/lib -L/usr/local/opt/openssl@3/lib"
-	export CPPFLAGS="-I/usr/local/opt/ncurses/include -I/usr/local/opt/openssl@3/include"
+	export LDFLAGS="-L/usr/local/opt/ncurses/lib -L/usr/local/opt/openssl@3/lib -L/usr/local/opt/libressl/lib"
+	export CPPFLAGS="-I/usr/local/opt/ncurses/include -I/usr/local/opt/openssl@3/include -I/usr/local/opt/libressl/include"
 	export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"
-	export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/openssl@3/lib/pkgconfig"
+	export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/openssl@3/lib/pkgconfig -I/usr/local/opt/libressl/lib/pkgconfig"
 }
 
 ./autogen.sh || exit 1
blob - c48ef7590986f0db9e80cb67f84b3a839882a18e
blob + 181919af7959ac179ec18885f7028d91f9207b9b
--- configure.ac
+++ configure.ac
@@ -58,6 +58,7 @@ AC_CHECK_HEADERS([ \
 	sys/socket.h \
 	sys/time.h \
 	sys/tree.h \
+	tls.h \
 	util.h \
 	unistd.h \
 	wchar.h \