- Add fuzzylite-fix-deprecated-unexpected-handler.patch, fixes building with gcc >= 12 See https://github.com/fuzzylite/fuzzylite/pull/108 - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/1061302 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/fuzzylite?expand=0&rev=2
13 lines
628 B
Diff
13 lines
628 B
Diff
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);
|