1 --- libcaca-0.99.beta20/configure.ac.orig 2021-12-05 21:19:06.371427650 +0100
2 +++ libcaca-0.99.beta20/configure.ac 2021-12-05 21:23:03.620142363 +0100
3 @@ -269,7 +269,7 @@ if test "${enable_cocoa}" != "no"; then
4 [ac_cv_my_have_cocoa="yes"])
6 if test "${ac_cv_my_have_cocoa}" = "yes"; then
7 - [[[ "$target_os" =~ [0-9]+ ]]] && darwin_ver="${BASH_REMATCH[[0]]}"
8 + [darwin_ver="$(echo "${target_os}" | sed -ne 's/[^0-9]*\([0-9]\+\).*/\1/p')"]
11 # 10.3 needed to link with X11