File fuzzylite-fix-deprecated-unexpected-handler.patch of Package fuzzylite

diff -Nur fuzzylite-6.0-orig/fuzzylite/src/main.cpp fuzzylite-6.0/fuzzylite/src/main.cpp
--- fuzzylite-6.0-orig/fuzzylite/src/main.cpp	2017-03-26 11:40:17.000000000 +0200
+++ fuzzylite-6.0/fuzzylite/src/main.cpp	2023-01-26 17:04:24.731427850 +0100
@@ -21,7 +21,7 @@
 
 int main(int argc, const char* argv[]) {
     std::set_terminate(fl::Exception::terminate);
-    std::set_unexpected(fl::Exception::terminate);
+    //std::set_unexpected(fl::Exception::terminate);
     ::signal(SIGSEGV, fl::Exception::signalHandler);
     ::signal(SIGABRT, fl::Exception::signalHandler);
     ::signal(SIGILL, fl::Exception::signalHandler);
openSUSE Build Service is sponsored by