From e334e218781ac60d7859bdbe7d2de1f4d935fe1e Mon Sep 17 00:00:00 2001 From: Tim Chase Date: Wed, 1 Jan 2025 19:23:00 -0600 Subject: [PATCH] Update VERSION check in configure script to use BRE POSIX BRE doesn't support `\+` so the grep fails on OpenBSD. Modify the version-check to use proper BRE --- jemalloc-sys/configure/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jemalloc-sys/configure/configure b/jemalloc-sys/configure/configure index 7c4e6e266..17faf931d 100755 --- a/jemalloc-sys/configure/configure +++ b/jemalloc-sys/configure/configure @@ -8256,7 +8256,7 @@ done # Check whether --with-version was given. if test "${with_version+set}" = set; then : withval=$with_version; - echo "${with_version}" | grep '^[0-9]\+\.[0-9]\+\.[0-9]\+-[0-9]\+-g[0-9a-f]\+$' 2>&1 1>/dev/null + echo "${with_version}" | grep '^[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*-[0-9][0-9]*-g[0-9a-f][0-9a-f]*$' 2>&1 1>/dev/null if test $? -eq 0 ; then echo "$with_version" > "${objroot}VERSION" else