From 4937bb772bbe7db6a04a76f105b51022541e552d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C4=81rti=C5=86=C5=A1=20Mo=C5=BEeiko?=
 <martins.mozeiko@gmail.com>
Date: Wed, 18 Sep 2024 13:51:15 -0700
Subject: [PATCH] mesa 24.2.3

---
 .gitignore       | 1 -
 build.cmd        | 8 ++++----
 meson.llvm.build | 2 +-
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore
index 0bd695d..8a1d967 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,5 @@ mesa.src
 mesa.build-*
 archive-*
 winflexbison
-cmake
 *.zip
 *.exe
diff --git a/build.cmd b/build.cmd
index 665ee3b..2238dcf 100644
--- a/build.cmd
+++ b/build.cmd
@@ -1,8 +1,8 @@
 @echo off
 setlocal enabledelayedexpansion
 
-set LLVM_VERSION=18.1.8
-set MESA_VERSION=24.2.2
+set LLVM_VERSION=19.1.0
+set MESA_VERSION=24.2.3
 
 rem *** architectures ***
 
@@ -130,7 +130,7 @@ curl -sfL https://github.com/llvm/llvm-project/releases/download/llvmorg-%LLVM_V
 curl -sfL https://github.com/llvm/llvm-project/releases/download/llvmorg-%LLVM_VERSION%/cmake-%LLVM_VERSION%.src.tar.xz ^
   | %SZIP% x -bb0 -txz -si -so ^
   | %SZIP% x -bb0 -ttar -si -aoa 1>nul 2>nul
-rd /s /q llvm.src 1>nul 2>nul
+rd /s /q cmake llvm.src 1>nul 2>nul
 move llvm-%LLVM_VERSION%.src llvm.src 1>nul 2>nul
 move cmake-%LLVM_VERSION%.src cmake 1>nul 2>nul
 
@@ -269,7 +269,7 @@ ninja -C llvm.build-%MESA_ARCH% install-llvm-headers install-llvm-libraries 1>nu
 
 rem *** extra libs ***
 
-set LINK=version.lib
+set LINK=version.lib ntdll.lib
 
 rem *** llvmpipe, lavapipe, osmesa ***
 
diff --git a/meson.llvm.build b/meson.llvm.build
index cbd041d..ad951fa 100644
--- a/meson.llvm.build
+++ b/meson.llvm.build
@@ -35,5 +35,5 @@ endforeach
 dep_llvm = declare_dependency(
   include_directories : include_directories(folder + '/include'),
   dependencies : _deps,
-  version : '18.1.8',
+  version : '19.1.0',
 )