From 8437b3bbced0ace205d9745f838d7d4353641b63 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 5 Apr 2023 22:45:28 +0000 Subject: system/libtool: add patch for unspecified grep usage. fixes #976. Commit 5d9ffc28fc6a0d99338cac0b020e3eac486bccfc bumped grep from 3.7 to 3.10, and in 3.8 they started warning on stray backslashes, so we didn't catch this until now. --- system/libtool/fix-test-grep-expression.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 system/libtool/fix-test-grep-expression.patch (limited to 'system/libtool/fix-test-grep-expression.patch') diff --git a/system/libtool/fix-test-grep-expression.patch b/system/libtool/fix-test-grep-expression.patch new file mode 100644 index 000000000..6a78c0b7a --- /dev/null +++ b/system/libtool/fix-test-grep-expression.patch @@ -0,0 +1,17 @@ +--- a/tests/link-order.at ++++ b/tests/link-order.at +@@ -99,12 +99,12 @@ + case $hardcode_direct$hardcode_direct_absolute in + yesno) + AT_CHECK([if $EGREP relinking stderr; then +- $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout ++ $EGREP " .*/new/lib/libb$shared_ext .*/old/lib/libcee$shared_ext" stdout + else :; fi], [0], [ignore], [], [echo "wrong link order"]) + ;; + *) + AT_CHECK([if $EGREP relinking stderr; then +- $EGREP " -L.*\/new\/lib -lb -L.*\/old\/lib -lcee" stdout ++ $EGREP " -L.*/new/lib -lb -L.*/old/lib -lcee" stdout + else :; fi], [0], [ignore], [], [echo "wrong link order"]) + ;; + esac -- cgit v1.2.3-60-g2f50