From 1fdec2083213109a57424295aacfb32776fb6aee Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Fri, 7 Nov 2025 12:19:29 +0100 Subject: net-im/qTox: exorcise -Werror, -pedantic-errors The build previously failed on armv7 due to a statement expression in a dependency header, causing a deadly warning cum error. Exorcise -Werror and its evil cousin -pedantic-errors to fix the build. Approved by: portmgr (build fix blanket) MFH: 2025Q4 --- net-im/qTox/files/patch-src_main.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'net-im/qTox/files/patch-src_main.cpp') 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) -- cgit v1.2.3