git: 1adab2111b11 - main - cad/qcad: Add patch

From: Michael Reifenberger <mr_at_FreeBSD.org>
Date: Tue, 11 Mar 2025 20:16:12 UTC
The branch main has been updated by mr:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1adab2111b11287d874738253b536b2e9221914e

commit 1adab2111b11287d874738253b536b2e9221914e
Author:     Michael Reifenberger <mr@FreeBSD.org>
AuthorDate: 2025-03-11 20:14:57 +0000
Commit:     Michael Reifenberger <mr@FreeBSD.org>
CommitDate: 2025-03-11 20:15:45 +0000

    cad/qcad: Add patch
    
    Add patch to get it compiled.
---
 cad/qcad/files/patch-src_core_RScriptHandler.h | 10 ++++++++++
 cad/qcad/files/patch-src_entity_entity.pro     |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/cad/qcad/files/patch-src_core_RScriptHandler.h b/cad/qcad/files/patch-src_core_RScriptHandler.h
new file mode 100644
index 000000000000..036b00f3ee09
--- /dev/null
+++ b/cad/qcad/files/patch-src_core_RScriptHandler.h
@@ -0,0 +1,10 @@
+--- src/core/RScriptHandler.h.orig	2025-03-11 20:09:48 UTC
++++ src/core/RScriptHandler.h
+@@ -25,6 +25,7 @@
+ #include <QList>
+ #include <QMetaType>
+ #include <QString>
++#include <QScriptEngine>
+ 
+ #include "RDocumentInterface.h"
+ #include "RScriptAction.h"
diff --git a/cad/qcad/files/patch-src_entity_entity.pro b/cad/qcad/files/patch-src_entity_entity.pro
index fd8d5f1a40bc..4a9bd2aa8955 100644
--- a/cad/qcad/files/patch-src_entity_entity.pro
+++ b/cad/qcad/files/patch-src_entity_entity.pro
@@ -1,6 +1,6 @@
---- src/entity/entity.pro.orig	2025-02-10 09:29:49 UTC
+--- src/entity/entity.pro.orig	2025-02-20 12:25:22 UTC
 +++ src/entity/entity.pro
-@@ -147,7 +147,7 @@ RC_FILE = entity.rc
+@@ -142,7 +142,7 @@ RC_FILE = entity.rc
  OTHER_FILES += entity.dox
  DEFINES += QCADENTITY_LIBRARY
  RC_FILE = entity.rc