What's new: http://amarok.kde.org/amarokwiki/index.php/What's_New_in_1.4 - add RUBY dependency for lyric scripts - add mp4v2 dependency - add support for iPods (via libgpod) Note: gstreamer, aKode and arts engine support have been dropped. Only libxine is supported on FreeBSD.
35 lines
690 B
C++
35 lines
690 B
C++
|
|
$FreeBSD$
|
|
|
|
--- amarok/src/atomicstring.h.orig
|
|
+++ amarok/src/atomicstring.h
|
|
@@ -34,7 +34,7 @@
|
|
#define AMAROK_ATOMICSTRING_H
|
|
|
|
#include "config.h"
|
|
-#ifdef __GNUC__
|
|
+#if __GNUC__ >= 3
|
|
#include <ext/hash_set>
|
|
#else
|
|
#include <set>
|
|
@@ -136,12 +136,18 @@
|
|
uint refcount() const;
|
|
|
|
private:
|
|
- #ifdef __GNUC__
|
|
+ #if __GNUC__ >= 3
|
|
struct SuperFastHash;
|
|
struct equal;
|
|
typedef __gnu_cxx::hash_set<QString*, SuperFastHash, equal> set_type;
|
|
#else
|
|
- struct less;
|
|
+ struct less
|
|
+ {
|
|
+ bool operator()( const QString *a, const QString *b ) const
|
|
+ {
|
|
+ return *a < *b;
|
|
+ }
|
|
+ };
|
|
typedef std::set<QString*, less> set_type;
|
|
#endif
|
|
|