diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-28 09:11:02 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-28 09:11:02 +0000 |
commit | 3e3a585fedc631e172b8cd0c350eb609b099b7b7 (patch) | |
tree | f19f55b09b0f55added277ea7c1b730948fd24d9 /media-plugins/xmms-imms/files | |
parent | Added to ~ppc (Manifest recommit) (diff) | |
download | gentoo-2-3e3a585fedc631e172b8cd0c350eb609b099b7b7.tar.gz gentoo-2-3e3a585fedc631e172b8cd0c350eb609b099b7b7.tar.bz2 gentoo-2-3e3a585fedc631e172b8cd0c350eb609b099b7b7.zip |
gcc-3.4 fix to close bug #54259.
Diffstat (limited to 'media-plugins/xmms-imms/files')
-rw-r--r-- | media-plugins/xmms-imms/files/xmms-imms-1.0.1-gcc34.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-plugins/xmms-imms/files/xmms-imms-1.0.1-gcc34.patch b/media-plugins/xmms-imms/files/xmms-imms-1.0.1-gcc34.patch new file mode 100644 index 000000000000..7745d968f4d5 --- /dev/null +++ b/media-plugins/xmms-imms/files/xmms-imms-1.0.1-gcc34.patch @@ -0,0 +1,50 @@ +diff -Naur imms-1.0.1.orig/immstool.cc imms-1.0.1/immstool.cc +--- imms-1.0.1.orig/immstool.cc 2004-02-25 12:53:33.000000000 -0800 ++++ imms-1.0.1/immstool.cc 2004-06-28 02:03:18.703330999 -0700 +@@ -4,6 +4,7 @@ + #include <list> + #include <utility> + ++#include <math.h> + #include <assert.h> + #include <stdlib.h> + #include <unistd.h> +diff -Naur imms-1.0.1.orig/strmanip.h imms-1.0.1/strmanip.h +--- imms-1.0.1.orig/strmanip.h 2004-02-25 12:53:33.000000000 -0800 ++++ imms-1.0.1/strmanip.h 2004-06-28 02:04:14.096265724 -0700 +@@ -25,7 +25,7 @@ + ostringstream str; + str << i; + return str.str(); +-}; ++} + + // Double up single quotes to escape them sqlite style + inline string escape_string(const string &in) +@@ -57,7 +57,7 @@ + if (hours) + s << hours << "h"; + return s.str(); +-}; ++} + + inline string string_tolower(string s) + { +@@ -65,7 +65,7 @@ + *i = tolower(*i); + + return s; +-}; ++} + + inline string string_brfilter(string s) + { +@@ -90,7 +90,7 @@ + } + } + return news; +-}; ++} + + string string_normalize(string s); + string title_filter(const string &title); |