]> git.pld-linux.org Git - packages/libcaca.git/blobdiff - libcaca-sh.patch
- updated to 0.99.beta20, fixes:
[packages/libcaca.git] / libcaca-sh.patch
diff --git a/libcaca-sh.patch b/libcaca-sh.patch
new file mode 100644 (file)
index 0000000..a016958
--- /dev/null
@@ -0,0 +1,11 @@
+--- libcaca-0.99.beta20/configure.ac.orig      2021-12-05 21:19:06.371427650 +0100
++++ libcaca-0.99.beta20/configure.ac   2021-12-05 21:23:03.620142363 +0100
+@@ -269,7 +269,7 @@ if test "${enable_cocoa}" != "no"; then
+    [ac_cv_my_have_cocoa="yes"])
+   CFLAGS="$save_CFLAGS"
+   if test "${ac_cv_my_have_cocoa}" = "yes"; then
+-    [[[ "$target_os" =~ [0-9]+ ]]] && darwin_ver="${BASH_REMATCH[[0]]}"
++    darwin_ver="$(echo "$target_os}" | sed -ne 's/.*\([0-9]\+\).*/\1/p')"
+     case x${target} in
+     xpowerpc*darwin*)
+       # 10.3 needed to link with X11
This page took 0.07051 seconds and 4 git commands to generate.