git: 36f52d04a92a - main - editors/picpas: Fix build

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Thu, 10 Feb 2022 01:17:20 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=36f52d04a92ae11add2693c4d5c2f55246f4a886

commit 36f52d04a92ae11add2693c4d5c2f55246f4a886
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-02-10 01:16:08 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-02-10 01:17:11 +0000

    editors/picpas: Fix build
    
    Reported by:    pkg-fallout
---
 editors/picpas/Makefile                               |  1 +
 editors/picpas/files/patch-Source_FrameCfgSynEdit.pas | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/editors/picpas/Makefile b/editors/picpas/Makefile
index fd0bcbe2f9d5..c59aee1d3bcd 100644
--- a/editors/picpas/Makefile
+++ b/editors/picpas/Makefile
@@ -41,6 +41,7 @@ LAZBUILD_ARGS=		-d
 post-patch:
 	${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/Source/Globales.pas
 	${REINPLACE_CMD} 's|0.8.7|${PORTVERSION}|g' ${WRKSRC}/version.txt
+	${REINPLACE_CMD} '81d' ${WRKSRC}/Source/FrameSyntaxTree.lfm
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/PicPas-freebsd ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/editors/picpas/files/patch-Source_FrameCfgSynEdit.pas b/editors/picpas/files/patch-Source_FrameCfgSynEdit.pas
new file mode 100644
index 000000000000..fdfa911cde8a
--- /dev/null
+++ b/editors/picpas/files/patch-Source_FrameCfgSynEdit.pas
@@ -0,0 +1,12 @@
+--- Source/FrameCfgSynEdit.pas	2022-02-09 20:05:08.675326000 -0500
++++ Source/FrameCfgSynEdit.pas	2022-02-09 20:05:30.737942000 -0500
+@@ -9,7 +9,8 @@
+ interface
+ uses
+   Classes, SysUtils, Forms, StdCtrls, Dialogs, SynEdit, Graphics,
+-  Globales, MiConfigXML, MiConfigBasic, SynEditMarkupHighAll, SynEditMarkup;
++  Globales, MiConfigXML, MiConfigBasic, SynEditMarkupHighAll, SynEditMarkup,
++  SynEditTypes;
+ type
+ 
+   { TfraCfgSynEdit }