aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/taglib/files/add_missing_exports_fix.diff
blob: 146710d868e0e990cefbd66ac113fff0c943ca1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From: Modestas Vainius <modestas@vainius.eu>
Subject: [PATCH] debian/add_missing_exports

Add missing exports for a few public ID3v1 functions.

Signed-off-by: Modestas Vainius <modestas@vainius.eu>

---
 taglib/mpeg/id3v1/id3v1genres.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/taglib/mpeg/id3v1/id3v1genres.h b/taglib/mpeg/id3v1/id3v1genres.h
index 6e5d82e..cb79056 100644
--- a/taglib/mpeg/id3v1/id3v1genres.h
+++ b/taglib/mpeg/id3v1/id3v1genres.h
@@ -45,21 +45,21 @@ namespace TagLib {
      * A "reverse mapping" that goes from the canonical ID3v1 genre name to the
      * respective genre number.   genreMap()["Rock"] ==
      */
-    GenreMap genreMap();
+    GenreMap TAGLIB_EXPORT genreMap();
 
     /*!
      * Returns the name of the genre at \a index in the ID3v1 genre list.  If
      * \a index is out of range -- less than zero or greater than 146 -- a null
      * string will be returned.
      */
-    String genre(int index);
+    String TAGLIB_EXPORT genre(int index);
 
     /*!
      * Returns the genre index for the (case sensitive) genre \a name.  If the
      * genre is not in the list 255 (which signifies an unknown genre in ID3v1)
      * will be returned.
      */
-    int genreIndex(const String &name);
+    int TAGLIB_EXPORT genreIndex(const String &name);
   }
 }
 
-- 
tg: (2a52182..) general/add_missing_exports_fix (depends on: upstream)