diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-22 09:45:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-22 09:45:59 +0100 |
commit | 994ddedfa7bbe42aa3de4aa9ae3e58960bbdd94e (patch) | |
tree | 81561a97855bcb9d79784fb246dbdc9249d38274 /media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch | |
parent | 102518876412b49c154cd247f5891927304dd8cc (diff) |
gentoo auto-resync : 22:08:2023 - 09:45:59
Diffstat (limited to 'media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch')
-rw-r--r-- | media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch b/media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch new file mode 100644 index 000000000000..bbe535ed1380 --- /dev/null +++ b/media-libs/exempi/files/exempi-2.6.3-clang16-binary_function.patch @@ -0,0 +1,33 @@ +Bug: https://bugs.gentoo.org/910494 +--- a/XMPFiles/source/PluginHandler/XMPAtoms.h ++++ b/XMPFiles/source/PluginHandler/XMPAtoms.h +@@ -83,8 +83,12 @@ enum + + #define XMPAtomNull emptyStr_K + +-struct StringCompare : std::binary_function<const std::string &, const std::string &, bool> ++struct StringCompare + { ++ public: ++ using first_argument_type = const std::string &; ++ using second_argument_type = const std::string &; ++ using result_type = bool; + bool operator() (const std::string & a, const std::string & b) const + { + return ( a.compare(b) < 0 ); +--- a/XMPFilesPlugins/api/source/PluginRegistry.h ++++ b/XMPFilesPlugins/api/source/PluginRegistry.h +@@ -68,8 +68,12 @@ public: + + private: + +- struct StringCompare : std::binary_function< const std::string &, const std::string &, bool > ++ struct StringCompare + { ++ public: ++ using first_argument_type = const std::string &; ++ using second_argument_type = const std::string &; ++ using result_type = bool; + bool operator()( const std::string & a, const std::string & b ) const + { + return ( a.compare(b) < 0 ); |