Subject: [PATCH 03/34] gnu: infamous-plugins: Fix regex in FIND-FILES invocation.

From: Sarah Morgensen <[email-masked]>
Date: Sun, 1 Aug 2021 14:18:43 -0700

See <https://issues.guix.gnu.org/37150> for more information.

* gnu/packages/audio.scm (infamous-plugins)[arguments]: Fix regex.
---
 gnu/packages/audio.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b9ac034f36..f56ac61c4c 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -34,6 +34,7 @@
 ;;; Copyright © 2020 Giacomo Leidi <[email-masked]>
 ;;; Copyright © 2020, 2021 Vinicius Monego <[email-masked]>
 ;;; Copyright © 2020 Michael Rohleder <[email-masked]>
+;;; Copyright © 2021 Sarah Morgensen <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1039,13 +1040,13 @@ generators of mostly elementary and occasionally exotic nature.")
        (modify-phases %standard-phases
          (add-after 'unpack 'remove-compiler-flags
            (lambda _
-             (substitute* (find-files "." "CMakeLists.txt")
+             (substitute* (find-files "." "^CMakeLists\\.txt$")
                (("-msse2 -mfpmath=sse") ""))
              #t))
          (add-after 'unpack 'fix-build-with-newer-lv2
            (lambda _
              ;; https://github.com/ssj71/infamousPlugins/commit/4c7275b1fa8ea3296446421cbd29ec2df66588c0
-             (substitute* (find-files "src" ".*\\.cxx")
+             (substitute* (find-files "src" "\\.cxx$")
                (("_LV2UI_Descriptor") "LV2UI_Descriptor"))
              #t)))))
     (inputs
-- 
2.31.1