commit:     69103fa9b95de28634242b19e99a1bcc93aac5ce
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Wed Aug 21 16:07:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 15:40:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69103fa9

sci-libs/rocSPARSE: fix wrong find regextype

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38239
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild | 2 +-
 sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild 
b/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild
index 31d07cee0a08..c18eeff84c43 100644
--- a/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild
+++ b/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild
@@ -94,7 +94,7 @@ src_prepare() {
                mkdir -p "${BUILD_DIR}"/clients/matrices
                # compile and use the mtx2csr converter. Do not use any 
optimization flags, because it causes error!
                edo $(tc-getCXX) deps/convert.cpp -o deps/convert
-               find "${WORKDIR}" -maxdepth 2 -regextype grep -E -regex 
".*/(.*)/\1\.mtx" -print0 |
+               find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex 
".*/(.*)/\1\.mtx" -print0 |
                        while IFS= read -r -d '' mtxfile; do
                                
destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' ${mtxfile}).csr
                                ebegin "Converting ${mtxfile} to ${destination}"

diff --git a/sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild 
b/sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild
index e370820ce9dc..1864cd0ee3b2 100644
--- a/sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild
+++ b/sci-libs/rocSPARSE/rocSPARSE-5.7.1-r2.ebuild
@@ -95,7 +95,7 @@ src_prepare() {
                mkdir -p "${BUILD_DIR}"/clients/matrices
                # compile and use the mtx2csr converter. Do not use any 
optimization flags, because it causes error!
                edo $(tc-getCXX) deps/convert.cpp -o deps/convert
-               find "${WORKDIR}" -maxdepth 2 -regextype grep -E -regex 
".*/(.*)/\1\.mtx" -print0 |
+               find "${WORKDIR}" -maxdepth 2 -regextype egrep -regex 
".*/(.*)/\1\.mtx" -print0 |
                        while IFS= read -r -d '' mtxfile; do
                                
destination=${BUILD_DIR}/clients/matrices/$(basename -s '.mtx' ${mtxfile}).csr
                                ebegin "Converting ${mtxfile} to ${destination}"

Reply via email to