Description: stopping using std::binary_function, to build with g++-12
Author: Pierre Gruet <pgt@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012979
Forwarded: gordon@cshl.edu
Last-Update: 2022-06-17

--- a/src/gtextutils/natsort.h
+++ b/src/gtextutils/natsort.h
@@ -78,7 +78,7 @@
 
 #include <string>
 
-struct natural_sort_predicate : public std::binary_function<std::string, std::string, bool>
+struct natural_sort_predicate
 {
 	bool operator() ( const std::string& s1, const std::string& s2 )
 	{
@@ -86,7 +86,7 @@
 	}
 };
 
-struct natural_sort_ignore_case_predicate : public std::binary_function<std::string, std::string, bool>
+struct natural_sort_ignore_case_predicate
 {
 	bool operator() ( const std::string& s1, const std::string& s2 )
 	{
