summaryrefslogtreecommitdiff
path: root/system/libtool/fix-test-grep-expression.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-04-05 22:45:28 +0000
committerZach van Rijn <me@zv.io>2023-04-05 22:45:48 +0000
commit8437b3bbced0ace205d9745f838d7d4353641b63 (patch)
tree9048b21435b6382676fd71e4a52043c07623d761 /system/libtool/fix-test-grep-expression.patch
parent18f48d5d44b880a58726fb11a388a719bf668666 (diff)
downloadpackages-8437b3bbced0ace205d9745f838d7d4353641b63.tar.gz
packages-8437b3bbced0ace205d9745f838d7d4353641b63.tar.bz2
packages-8437b3bbced0ace205d9745f838d7d4353641b63.tar.xz
packages-8437b3bbced0ace205d9745f838d7d4353641b63.zip
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.
Diffstat (limited to 'system/libtool/fix-test-grep-expression.patch')
-rw-r--r--system/libtool/fix-test-grep-expression.patch17
1 files changed, 17 insertions, 0 deletions
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