# HG changeset patch # User John Donoghue # Date 1589284901 14400 # Node ID c0d7569adb6c227b9f0ac5888d40608df323a805 # Parent c7d3616822370400ebae8b42e37b0e226a4d36aa mesa: update to v20.0.6 * src/mesa.mk: update version, checksum * src/mesa-1-fixes.patch: update patch diff -r c7d361682237 -r c0d7569adb6c src/mesa-1-fixes.patch --- a/src/mesa-1-fixes.patch Mon May 11 13:56:37 2020 -0400 +++ b/src/mesa-1-fixes.patch Tue May 12 08:01:41 2020 -0400 @@ -1,7 +1,7 @@ -diff -uNr a/scons/gallium.py b/scons/gallium.py ---- a/scons/gallium.py 2017-09-17 19:03:22.000000000 -0400 -+++ b/scons/gallium.py 2017-10-04 19:24:29.499373623 -0400 -@@ -580,9 +580,6 @@ +diff -ur mesa-20.0.6.orig/scons/gallium.py mesa-20.0.6/scons/gallium.py +--- mesa-20.0.6.orig/scons/gallium.py 2020-05-12 07:11:05.849629292 -0400 ++++ mesa-20.0.6/scons/gallium.py 2020-05-12 07:12:17.601633140 -0400 +@@ -617,9 +617,6 @@ '-Wl,--dynamicbase', # ASLR ] # Avoid depending on gcc runtime DLLs @@ -11,18 +11,15 @@ # Handle the @xx symbol munging of DLL exports shlinkflags += ['-Wl,--enable-stdcall-fixup'] #shlinkflags += ['-Wl,--kill-at'] -diff -uNr a/scons/llvm.py b/scons/llvm.py ---- a/scons/llvm.py 2018-12-27 17:02:01.000000000 +0100 -+++ b/scons/llvm.py 2019-01-21 18:47:28.456846140 +0100 -@@ -122,10 +122,7 @@ - 'LLVMIRReader', 'LLVMAsmParser', - 'LLVMDemangle', 'LLVMGlobalISel', 'LLVMDebugInfoMSF', - 'LLVMBinaryFormat', -+ 'version', 'uuid', 'ole32', 'oleaut32', 'z', +diff -ur mesa-20.0.6.orig/scons/llvm.py mesa-20.0.6/scons/llvm.py +--- mesa-20.0.6.orig/scons/llvm.py 2020-05-12 07:11:05.849629292 -0400 ++++ mesa-20.0.6/scons/llvm.py 2020-05-12 07:49:13.605280341 -0400 +@@ -243,7 +243,7 @@ + ]) + + # Mingw-w64 zlib is required when building with LLVM support in MSYS2 environment +- if host_platform.system().lower().startswith('mingw'): ++ if host_platform.system().lower().startswith('mingw') or env['crosscompile']: + env.Append(LIBS = [ + 'z', ]) -- if env['platform'] == 'windows' and env['crosscompile']: -- # LLVM 5.0 requires MinGW w/ pthreads due to use of std::thread and friends. -- assert env['gcc'] -- env['CXX'] = env['CXX'] + '-posix' - elif llvm_version >= distutils.version.LooseVersion('4.0'): - env.Prepend(LIBS = [ diff -r c7d361682237 -r c0d7569adb6c src/mesa.mk --- a/src/mesa.mk Mon May 11 13:56:37 2020 -0400 +++ b/src/mesa.mk Tue May 12 08:01:41 2020 -0400 @@ -2,8 +2,8 @@ # See index.html for further information. PKG := mesa -$(PKG)_VERSION := 19.0.8 -$(PKG)_CHECKSUM := 5fd340a6304f7501014e1bd7291e4cfa7a6efcdb +$(PKG)_VERSION := 20.0.6 +$(PKG)_CHECKSUM := 5bf6d97770c7f010db3ea27944cfdcda079d39c8 $(PKG)_SUBDIR := mesa-$($(PKG)_VERSION) $(PKG)_FILE := mesa-$($(PKG)_VERSION).tar.xz $(PKG)_URL := ftp://ftp.freedesktop.org/pub/mesa/$($(PKG)_FILE)