mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
media-sound/cantata: fix ODR violations
fix multiple ODR violations with cddb or udisks enabled. Move enums into class scope in headers. > online/podcastsearchdialog.cpp:67:6: > error: type ‘Roles’ violates the C++ One Definition Rule > devices/albumdetailsdialog.cpp:311:6: > note: an enum with different value name is defined in another translation unit > gui/initialsettingswizard.cpp:44:6: > error: type ‘Pages’ violates the C++ One Definition Rule > devices/actiondialog.cpp:68:6: > note: an enum with different value name is defined in another translation unit Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/42541 Closes: https://github.com/gentoo/gentoo/pull/42541 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -58,6 +58,9 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.3.0-rm-vendor.patch
|
||||
# https://github.com/nullobsi/cantata/pull/51.patch
|
||||
"${FILESDIR}"/${PN}-3.3.0-cdparanoia.patch
|
||||
# Fix ODR violations with cddb or udisks enabled
|
||||
# https://github.com/nullobsi/cantata/pull/71.patch
|
||||
"${FILESDIR}"/${PN}-3.3.0-fix_odr.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user