I've applied the two patches
I followed the first part of your instruction and the patches seemed to apply successfully. However, things went wrong again at this stage:
Quote from: PascalDragon on August 11, 2020, 10:09:03 am
After that you go to the packages\fcl-extra directory and execute the following command (the same remark regarding PATH as for patch applies for fpc):
fpc -FU..\..\..\units\x86_64-win64\fcl-extra -Fiwin daemonapp.pp
(Note: if you use a 32-bit Lazarus then you need to use i386-win32 instead of x86_64-win64)
After that you rebuild Lazarus and everything should be set.
I tried the FPC command both without and then with the full path before daemonapp.pp. Both times it failed with an error:
c:\lazarus\fpc\3.2.0\source\packages\fcl-extra>c:\lazarus\fpc\3.2.0\bin\x86_64-win64\fpc -FU C:\lazarus\fpc\3.2.0\units\x86_64-win64\fcl-extra -Fiwin c:\lazarus\fpc\3.2.0\source\packages\fcl-extra\src\daemonapp.pp
Warning: Only one source file supported, changing source file to compile from "C:\lazarus\fpc\3.2.0\units\x86_64-win64\fcl-extra" into "c:\lazarus\fpc\3.2.0\source\packages\fcl-extra\src\daemonapp.pp"
Free Pascal Compiler version 3.2.0 [2020/07/07] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Win64 for x64
Compiling c:\lazarus\fpc\3.2.0\source\packages\fcl-extra\src\daemonapp.pp
daemonapp.pp(461,2) Fatal: Cannot open include file "daemonapp.inc"
Fatal: Compilation aborted
Error: c:\lazarus\fpc\3.2.0\bin\x86_64-win64\ppcx64.exe returned an error exitcode
The command line was invoked with "Run as Administrator". I guess the problem is being unable to find daemonapp.inc, but I don't know how to fix that. (I have C:\lazarus\fpc\3.2.0\bin\x86_64-win64 in my Windows path.)