aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-09-17 12:53:40 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-09-17 12:53:40 +0000
commit768ff4333167d83660f1faff8fd6b54f67db6854 (patch)
tree8b18ba71ea97d3d7d85af666b105a6591e95a6d5 /deskutils
parent594e91274e87d4fc234cc13e52d44faef5190829 (diff)
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/kdepim4/files/patch-kleopatra__models__keylistmodel.cpp29
-rw-r--r--deskutils/kdepim4/files/patch-kleopatra__uiserver__assuanserverconnection.cpp20
-rw-r--r--deskutils/kdepim4/files/patch-kleopatra__utils__classify.cpp29
3 files changed, 78 insertions, 0 deletions
diff --git a/deskutils/kdepim4/files/patch-kleopatra__models__keylistmodel.cpp b/deskutils/kdepim4/files/patch-kleopatra__models__keylistmodel.cpp
new file mode 100644
index 000000000000..a53c01bc1895
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-kleopatra__models__keylistmodel.cpp
@@ -0,0 +1,29 @@
+--- kleopatra/models/keylistmodel.cpp
++++ kleopatra/models/keylistmodel.cpp
+@@ -73,7 +73,7 @@
+ #include <iterator>
+ #include <cassert>
+
+-#ifdef __GNUC__
++#ifdef __GLIBCXX__
+ #include <ext/algorithm> // for is_sorted
+ #endif
+
+@@ -460,7 +460,7 @@ QModelIndex FlatKeyListModel::doMapFromKey( const Key & key, int col ) const {
+ }
+
+ QList<QModelIndex> FlatKeyListModel::doAddKeys( const std::vector<Key> & keys ) {
+-#ifdef __GNUC__
++#ifdef __GLIBCXX__
+ assert( __gnu_cxx::is_sorted( keys.begin(), keys.end(), _detail::ByFingerprint<std::less>() ) );
+ #endif
+ if ( keys.empty() )
+@@ -717,7 +717,7 @@ static std::vector<Key> topological_sort( const std::vector<Key> & keys ) {
+ }
+
+ QList<QModelIndex> HierarchicalKeyListModel::doAddKeys( const std::vector<Key> & keys ) {
+-#ifdef __GNUC__
++#ifdef __GLIBCXX__
+ assert( __gnu_cxx::is_sorted( keys.begin(), keys.end(), _detail::ByFingerprint<std::less>() ) );
+ #endif
+ if ( keys.empty() )
diff --git a/deskutils/kdepim4/files/patch-kleopatra__uiserver__assuanserverconnection.cpp b/deskutils/kdepim4/files/patch-kleopatra__uiserver__assuanserverconnection.cpp
new file mode 100644
index 000000000000..0a97de117e40
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-kleopatra__uiserver__assuanserverconnection.cpp
@@ -0,0 +1,20 @@
+--- kleopatra/uiserver/assuanserverconnection.cpp
++++ kleopatra/uiserver/assuanserverconnection.cpp
+@@ -96,7 +96,7 @@
+
+ #include <errno.h>
+
+-#ifdef __GNUC__
++#ifdef __GLIBCXX__
+ # include <ext/algorithm> // for is_sorted
+ #endif
+
+@@ -827,7 +827,7 @@ AssuanServerConnection::Private::Private( assuan_fd_t fd_, const std::vector< sh
+ sessionId( 0 ),
+ factories( factories_ )
+ {
+-#ifdef __GNUC__
++#ifdef __GLIBCXX__
+ assert( __gnu_cxx::is_sorted( factories_.begin(), factories_.end(), _detail::ByName<std::less>() ) );
+ #endif
+
diff --git a/deskutils/kdepim4/files/patch-kleopatra__utils__classify.cpp b/deskutils/kdepim4/files/patch-kleopatra__utils__classify.cpp
new file mode 100644
index 000000000000..a794cf62bb70
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-kleopatra__utils__classify.cpp
@@ -0,0 +1,29 @@
+--- kleopatra/utils/classify.cpp
++++ kleopatra/utils/classify.cpp
+@@ -43,7 +43,7 @@
+
+ #include <boost/range.hpp>
+
+-#ifdef __GNUC__
++#ifdef __GLIBCXX__
+ # include <ext/algorithm>
+ #endif
+
+@@ -150,7 +150,7 @@ unsigned int Kleo::classify( const QStringList & fileNames ) {
+ }
+
+ unsigned int Kleo::classify( const QString & filename ) {
+-#ifdef __GNUC__
++#ifdef __GLIBCXX__
+ assert( __gnu_cxx::is_sorted( begin( classifications ), end( classifications ), ByExtension<std::less>() ) );
+ #endif
+
+@@ -179,7 +179,7 @@ unsigned int Kleo::classify( const QString & filename ) {
+ }
+
+ unsigned int Kleo::classifyContent( const QByteArray & data ) {
+-#ifdef __GNUC__
++#ifdef __GLIBCXX__
+ assert( __gnu_cxx::is_sorted( begin( content_classifications ), end( content_classifications ), ByContent<std::less>(100) ) );
+ #endif
+