diff options
Diffstat (limited to 'net-im/qTox/files')
| -rw-r--r-- | net-im/qTox/files/patch-cmake_warnings_CMakeLists.txt | 10 | ||||
| -rw-r--r-- | net-im/qTox/files/patch-src_main.cpp | 11 |
2 files changed, 17 insertions, 4 deletions
diff --git a/net-im/qTox/files/patch-cmake_warnings_CMakeLists.txt b/net-im/qTox/files/patch-cmake_warnings_CMakeLists.txt new file mode 100644 index 000000000000..90694dd37c47 --- /dev/null +++ b/net-im/qTox/files/patch-cmake_warnings_CMakeLists.txt @@ -0,0 +1,10 @@ +--- cmake/warnings/CMakeLists.txt.orig 2025-11-07 11:06:58 UTC ++++ cmake/warnings/CMakeLists.txt +@@ -28,7 +28,6 @@ target_compile_options( + -fno-common; + -fstrict-overflow; + -ftrapv; +- -pedantic-errors; + -Wall; + -Wcast-align; + -Wdouble-promotion; diff --git a/net-im/qTox/files/patch-src_main.cpp b/net-im/qTox/files/patch-src_main.cpp index 7c344c1cbe58..b59c45ea49e1 100644 --- a/net-im/qTox/files/patch-src_main.cpp +++ b/net-im/qTox/files/patch-src_main.cpp @@ -1,13 +1,16 @@ ---- src/main.cpp.orig 2017-07-16 12:33:33 UTC +--- src/main.cpp.orig 2025-04-04 21:41:40 UTC +++ src/main.cpp -@@ -322,3 +322,10 @@ int main(int argc, char* argv[]) - delete a; +@@ -21,6 +21,13 @@ int main(int argc, char* argv[]) return errorcode; } -+ + +// Missing in libxccrt.so function __cxa_deleted_virtual, see FreeBSD Bug#200863 +extern "C" void __cxa_deleted_virtual() +{ + abort(); +} + ++ + #ifdef QT_STATIC + #if defined(Q_OS_LINUX) + Q_IMPORT_PLUGIN(QLinuxFbIntegrationPlugin) |
