Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 761627 Details for
Bug 830806
kde-misc/tellico-3.4.3[-taglib]: src/translators/audiofileimporter.cpp:61:31: error: ‘PropertyMap’ in namespace ‘TagLib’ does not name a type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tellico-3.4.3-taglib.patch
tellico-3.4.3-taglib.patch (text/plain), 1.68 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2022-01-08 19:41:06 UTC
(
hide
)
Description:
tellico-3.4.3-taglib.patch
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2022-01-08 19:41:06 UTC
Size:
1.68 KB
patch
obsolete
>From e7e17d43f86f67b3578abab7ab897aeeab7dd9c3 Mon Sep 17 00:00:00 2001 >From: Lars Wendler <polynomial-c@gentoo.org> >Date: Sat, 8 Jan 2022 20:35:37 +0100 >Subject: [PATCH] Fix build without HAVE_TAGLIB > >Gentoo-bug: https://bugs.gentoo.org/830806 >--- > src/translators/audiofileimporter.cpp | 24 +++++++++++++----------- > 1 file changed, 13 insertions(+), 11 deletions(-) > >diff --git a/src/translators/audiofileimporter.cpp b/src/translators/audiofileimporter.cpp >index 2b3372f4..8159b5b9 100644 >--- a/src/translators/audiofileimporter.cpp >+++ b/src/translators/audiofileimporter.cpp >@@ -57,19 +57,21 @@ > #include <QVBoxLayout> > #include <QApplication> > >-namespace { >- bool hasValue(const TagLib::PropertyMap& pmap, const char* key) { >- const TagLib::String keyString(key); >- return pmap.contains(keyString) && !pmap[keyString].isEmpty(); >- } >+#ifdef HAVE_TAGLIB >+ namespace { >+ bool hasValue(const TagLib::PropertyMap& pmap, const char* key) { >+ const TagLib::String keyString(key); >+ return pmap.contains(keyString) && !pmap[keyString].isEmpty(); >+ } > >- QString tagValue(const TagLib::PropertyMap& pmap, const char* key) { >- const TagLib::String keyString(key); >- return (pmap.contains(keyString) && !pmap[keyString].isEmpty()) ? >- TStringToQString(pmap[keyString].front()).trimmed() : >- QString(); >+ QString tagValue(const TagLib::PropertyMap& pmap, const char* key) { >+ const TagLib::String keyString(key); >+ return (pmap.contains(keyString) && !pmap[keyString].isEmpty()) ? >+ TStringToQString(pmap[keyString].front()).trimmed() : >+ QString(); >+ } > } >-} >+#endif > > using Tellico::Import::AudioFileImporter; > >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 830806
:
761626
| 761627