diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-10-10 10:39:18 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-10-10 10:39:32 +0200 |
commit | 854bc899f7db9828268d4ae4a5ca0e0f2143ed48 (patch) | |
tree | dc721dd73295bc8c7b41497754928bb733c80fe2 /media-sound | |
parent | dev-python/pytest-cov: Reenable all tests (diff) | |
download | gentoo-854bc899f7db9828268d4ae4a5ca0e0f2143ed48.tar.gz gentoo-854bc899f7db9828268d4ae4a5ca0e0f2143ed48.tar.bz2 gentoo-854bc899f7db9828268d4ae4a5ca0e0f2143ed48.zip |
media-sound/hydrogen: fixed cflags propagation
Closes: https://bugs.gentoo.org/913916
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/hydrogen/files/hydrogen-1.2.2-cflags.patch | 13 | ||||
-rw-r--r-- | media-sound/hydrogen/hydrogen-1.2.2-r1.ebuild (renamed from media-sound/hydrogen/hydrogen-1.2.2.ebuild) | 1 | ||||
-rw-r--r-- | media-sound/hydrogen/hydrogen-9999.ebuild | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/media-sound/hydrogen/files/hydrogen-1.2.2-cflags.patch b/media-sound/hydrogen/files/hydrogen-1.2.2-cflags.patch new file mode 100644 index 000000000000..f244b4edcc08 --- /dev/null +++ b/media-sound/hydrogen/files/hydrogen-1.2.2-cflags.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1fe4013..180aa2f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -141,7 +141,7 @@ ENDIF() + IF(WANT_DEBUG) + SET(CMAKE_CXX_FLAGS "$ENV{CMAKE_CXX_FLAGS} -O0") + ELSE() +- SET(CMAKE_CXX_FLAGS "$ENV{CMAKE_CXX_FLAGS} -O3 -ffast-math") ++ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") + ENDIF() + + IF(WANT_APPIMAGE) diff --git a/media-sound/hydrogen/hydrogen-1.2.2.ebuild b/media-sound/hydrogen/hydrogen-1.2.2-r1.ebuild index 300110e184b2..c8ceca18e253 100644 --- a/media-sound/hydrogen/hydrogen-1.2.2.ebuild +++ b/media-sound/hydrogen/hydrogen-1.2.2-r1.ebuild @@ -60,6 +60,7 @@ DOCS=( AUTHORS ChangeLog DEVELOPERS README.md ) PATCHES=( "${FILESDIR}/${PN}-1.2.1-gnuinstalldirs.patch" + "${FILESDIR}/${PN}-1.2.2-cflags.patch" ) src_prepare() { diff --git a/media-sound/hydrogen/hydrogen-9999.ebuild b/media-sound/hydrogen/hydrogen-9999.ebuild index 705be8cebc76..28fdaf94ba63 100644 --- a/media-sound/hydrogen/hydrogen-9999.ebuild +++ b/media-sound/hydrogen/hydrogen-9999.ebuild @@ -60,6 +60,7 @@ DOCS=( AUTHORS ChangeLog DEVELOPERS.md README.md ) PATCHES=( "${FILESDIR}/${PN}-1.2.1-gnuinstalldirs.patch" + "${FILESDIR}/${PN}-1.2.2-cflags.patch" ) src_prepare() { |