summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/tunepimp/files/tunepimp-0.4.0-gcc41.patch')
-rw-r--r--media-libs/tunepimp/files/tunepimp-0.4.0-gcc41.patch79
1 files changed, 79 insertions, 0 deletions
diff --git a/media-libs/tunepimp/files/tunepimp-0.4.0-gcc41.patch b/media-libs/tunepimp/files/tunepimp-0.4.0-gcc41.patch
new file mode 100644
index 000000000000..7b8c7592600d
--- /dev/null
+++ b/media-libs/tunepimp/files/tunepimp-0.4.0-gcc41.patch
@@ -0,0 +1,79 @@
+--- libtunepimp-0.4.0/include/tunepimp/metadata.h 2005-11-12 00:45:45.000000000 +0100
++++ libtunepimp-0.4.0-gcc41/include/tunepimp/metadata.h 2005-11-28 13:03:02.337021584 +0100
+@@ -59,7 +59,7 @@
+ // This is only used in case of TRM collision
+ int numTRMIds;
+
+- Metadata::Metadata(void)
++ Metadata(void)
+ {
+ trackNum = 0;
+ duration = 0;
+@@ -72,11 +72,11 @@
+ totalInSet = 0;
+ };
+
+- Metadata::~Metadata(void)
++ ~Metadata(void)
+ {
+ }
+
+- Metadata &Metadata::operator=(const Metadata &other)
++ Metadata &operator=(const Metadata &other)
+ {
+ artist = other.artist;
+ sortName = other.sortName;
+@@ -104,7 +104,7 @@
+ return *this;
+ };
+
+- bool Metadata::isEmpty(void)
++ bool isEmpty(void)
+ {
+ return (artist.empty() && album.empty() && track.empty() &&
+ trackNum == 0 && duration == 0 && fileTrm.empty() &&
+@@ -112,7 +112,7 @@
+ sortName.empty() && fileFormat.empty());
+ }
+
+- bool Metadata::operator==(const Metadata &other)
++ bool operator==(const Metadata &other)
+ {
+ if (artist == other.artist &&
+ album == other.album &&
+@@ -140,7 +140,7 @@
+ return false;
+ };
+
+- void Metadata::clear(void)
++ void clear(void)
+ {
+ artist = "";
+ album = "";
+@@ -164,7 +164,7 @@
+ totalInSet = 0;
+ }
+
+- void Metadata::readFromC(const metadata_t *mdata)
++ void readFromC(const metadata_t *mdata)
+ {
+ artist = mdata->artist;
+ sortName = mdata->sortName;
+@@ -190,7 +190,7 @@
+ totalInSet = mdata->totalInSet;
+ }
+
+- void Metadata::writeToC(metadata_t *mdata) const
++ void writeToC(metadata_t *mdata) const
+ {
+ memset(mdata, 0, sizeof(metadata_t));
+
+@@ -218,7 +218,7 @@
+ mdata->totalInSet = totalInSet;
+ }
+
+- void Metadata::print(void)
++ void print(void)
+ {
+ printf("artist: '%s'\n", artist.c_str());
+ printf("sortName: '%s'\n", sortName.c_str());