git: 3022c99c26f8 - main - net-im/ruqola: fix build on FreeBSD 12

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sat, 18 Feb 2023 10:25:54 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3022c99c26f84cceef43ae1186b731bb775b64d4

commit 3022c99c26f84cceef43ae1186b731bb775b64d4
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-02-18 09:59:14 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-02-18 10:25:14 +0000

    net-im/ruqola: fix build on FreeBSD 12
    
    /wrkdirs/usr/ports/net-im/ruqola/work/ruqola-1.9.1/src/pimcommontexttranslator/translator/widgets/translatordebugdialog.cpp:91:69: error: use of undeclared identifier 'errno'
                                        QString::fromLocal8Bit(strerror(errno))),
                                                                        ^
    1 error generated.
---
 ...texttranslator_translator_widgets_translatordebugdialog.cpp | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/net-im/ruqola/files/patch-src_pimcommontexttranslator_translator_widgets_translatordebugdialog.cpp b/net-im/ruqola/files/patch-src_pimcommontexttranslator_translator_widgets_translatordebugdialog.cpp
new file mode 100644
index 000000000000..2aaf8ef3f656
--- /dev/null
+++ b/net-im/ruqola/files/patch-src_pimcommontexttranslator_translator_widgets_translatordebugdialog.cpp
@@ -0,0 +1,10 @@
+--- src/pimcommontexttranslator/translator/widgets/translatordebugdialog.cpp.orig	2023-02-18 09:58:32 UTC
++++ src/pimcommontexttranslator/translator/widgets/translatordebugdialog.cpp
+@@ -7,6 +7,7 @@
+ #include "translatordebugdialog.h"
+ #include <QPlainTextEdit>
+ 
++#include <cerrno>
+ #include <KConfigGroup>
+ #include <KLocalizedString>
+ #include <KMessageBox>