# HG changeset patch # User John Donoghue # Date 1589466379 14400 # Node ID 7f42b41d60218820fe2e785393f2a24a7792497f # Parent 66cd5a418ecfddf0e040a2ad1fd83555d8b0828e mesa: revert c0d7569adb6c until we use meson to build * src/mesa-1-fixes.patch, src/mesa.mk: reverted diff -r 66cd5a418ecf -r 7f42b41d6021 src/mesa-1-fixes.patch --- a/src/mesa-1-fixes.patch Wed May 13 19:16:32 2020 -0400 +++ b/src/mesa-1-fixes.patch Thu May 14 10:26:19 2020 -0400 @@ -1,7 +1,7 @@ -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 @@ +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 @@ '-Wl,--dynamicbase', # ASLR ] # Avoid depending on gcc runtime DLLs @@ -11,15 +11,19 @@ # Handle the @xx symbol munging of DLL exports shlinkflags += ['-Wl,--enable-stdcall-fixup'] #shlinkflags += ['-Wl,--kill-at'] -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', +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', ]) +- 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 66cd5a418ecf -r 7f42b41d6021 src/mesa.mk --- a/src/mesa.mk Wed May 13 19:16:32 2020 -0400 +++ b/src/mesa.mk Thu May 14 10:26:19 2020 -0400 @@ -2,8 +2,8 @@ # See index.html for further information. PKG := mesa -$(PKG)_VERSION := 20.0.6 -$(PKG)_CHECKSUM := 5bf6d97770c7f010db3ea27944cfdcda079d39c8 +$(PKG)_VERSION := 19.0.8 +$(PKG)_CHECKSUM := 5fd340a6304f7501014e1bd7291e4cfa7a6efcdb $(PKG)_SUBDIR := mesa-$($(PKG)_VERSION) $(PKG)_FILE := mesa-$($(PKG)_VERSION).tar.xz $(PKG)_URL := ftp://ftp.freedesktop.org/pub/mesa/$($(PKG)_FILE)