commit:     711b8793272e69a1737fa1a7408a379d3c33d6fe
Author:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
AuthorDate: Thu Dec 29 12:14:16 2022 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 12:14:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=711b8793

media-sound/loudgain: remove the debug flag `-g`

Closes: https://bugs.gentoo.org/887783
Signed-off-by: YOSHIOKA Takuma <lo48576 <AT> hard-wi.red>

 media-sound/loudgain/loudgain-0.6.8.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-sound/loudgain/loudgain-0.6.8.ebuild 
b/media-sound/loudgain/loudgain-0.6.8.ebuild
index 9ad6f1468..550bb844e 100644
--- a/media-sound/loudgain/loudgain-0.6.8.ebuild
+++ b/media-sound/loudgain/loudgain-0.6.8.ebuild
@@ -26,6 +26,7 @@ DEPEND="${COMMON_DEPEND}"
 src_prepare() {
        sed -e 's/^SET(CMAKE_C_FLAGS "/SET(CMAKE_C_FLAGS "${CMAKE_C_CFLAGS} /' \
                -e 's/^SET(CMAKE_CXX_FLAGS "/SET(CMAKE_CXX_FLAGS 
"${CMAKE_CXX_FLAGS} /' \
+               -e 's/^\(\s*COMPILE_FLAGS.*\) -g\([\s"]\)$/\1\2/' \
                -i CMakeLists.txt || die "cannot patch CMakeLists.txt"
        cat CMakeLists.txt
 

Reply via email to