external/afdko/UnpackedTarball_afdko.mk |    1 +
 external/afdko/antlr4-chrono.patch      |   11 +++++++++++
 2 files changed, 12 insertions(+)

New commits:
commit ca72d9ab761e1e2fbed19bf7cbd6a42d5d2c585e
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Mon Sep 29 15:54:55 2025 +0300
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Oct 6 12:04:51 2025 +0200

    Need to include <chrono> to build afdko with current Visual Studio 2022
    
    Presumably it gets included indirectly in earlier versions of Visual
    Studio, as this afdko thing passed CI.
    
    Change-Id: I0587ad7e9f3b59281cd7d493e7164f3e8901a6d1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191952
    Tested-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/external/afdko/UnpackedTarball_afdko.mk 
b/external/afdko/UnpackedTarball_afdko.mk
index bb7e6b18feec..0fe01b7a69b1 100644
--- a/external/afdko/UnpackedTarball_afdko.mk
+++ b/external/afdko/UnpackedTarball_afdko.mk
@@ -24,6 +24,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,afdko, \
     external/afdko/extern_makeotf.patch \
     external/afdko/warnings.patch \
     external/afdko/mergeFonts_crash.patch \
+    external/afdko/antlr4-chrono.patch \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/external/afdko/antlr4-chrono.patch 
b/external/afdko/antlr4-chrono.patch
new file mode 100644
index 000000000000..08fe4fdd96eb
--- /dev/null
+++ b/external/afdko/antlr4-chrono.patch
@@ -0,0 +1,11 @@
+--- afdko/a4/runtime/src/atn/ProfilingATNSimulator.cpp
++++ afdko/a4/runtime/src/atn/ProfilingATNSimulator.cpp
+@@ -11,6 +11,8 @@
+ 
+ #include "atn/ProfilingATNSimulator.h"
+ 
++#include <chrono>
++
+ using namespace antlr4;
+ using namespace antlr4::atn;
+ using namespace antlr4::dfa;

Reply via email to