From 77f8df9a0d07f9ca47461eb806a5c3e689830a76 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sun, 11 Jun 2023 21:14:30 +0200 Subject: misc/tlci: Fix build with llvm15 Approved by: portmgr (blanket) --- misc/tlci/files/patch-src_parser.y | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 misc/tlci/files/patch-src_parser.y (limited to 'misc/tlci/files/patch-src_parser.y') diff --git a/misc/tlci/files/patch-src_parser.y b/misc/tlci/files/patch-src_parser.y new file mode 100644 index 000000000000..f1418faed9f7 --- /dev/null +++ b/misc/tlci/files/patch-src_parser.y @@ -0,0 +1,11 @@ +--- src/parser.y.orig 2023-06-11 19:00:49 UTC ++++ src/parser.y +@@ -4,7 +4,7 @@ + #include + #include + extern heap_t* tlci_heap; +-extern int yylex(); ++extern int yylex(void); + extern void yyerror(const char*); + #define mkAP(f, a) \ + heap_alloc_ap(tlci_heap, f, a) -- cgit v1.2.3