Skip to content

Commit a0df828

Browse files
committed
linux_and_macos.yml: Patch ax_check_gl.m4 on demand to fix macOS CI
1 parent fcbbbf0 commit a0df828

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/linux_and_macos.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ jobs:
101101
portaudio \
102102
sdl12-compat
103103
104+
# Patch ax_check_gl.m4 of autoconf-archive 2024.10.16 as needed
105+
# https://github.com/Homebrew/homebrew-core/issues/202234
106+
set -x -o pipefail
107+
ax_check_gl_m4=/usr/local/Cellar/autoconf-archive/2024.10.16/share/aclocal/ax_check_gl.m4
108+
if [[ -e "${ax_check_gl_m4}" ]] && ! grep -qF '[m4_fatal' "${ax_check_gl_m4}" ; then
109+
wget -O- https://github.com/autoconf-archive/autoconf-archive/commit/427e226a2fe3980388abffd6de25ed6b9591cce3.patch \
110+
| sudo patch -N "${ax_check_gl_m4}"
111+
fi
112+
104113
- name: Setting dynamic environment variables
105114
run: |-
106115
set -x

0 commit comments

Comments
 (0)