diff options
author | Kyle K <kylek389@gmail.com> | 2022-04-20 23:54:46 -0500 |
---|---|---|
committer | Kyle K <kylek389@gmail.com> | 2022-04-20 23:54:46 -0500 |
commit | 089765962b2dd9e65fc96cba49e5fe91eb6558b5 (patch) | |
tree | 770151266f11fb2fe983bc6dd166503e9dfafd1a /patches/media-libs/osl/8682211d0bfe5c4be63a4a003d06037ff9721e66.patch | |
parent | 3e656edd6e33d6a4678b17920bfba27aee71b5f0 (diff) | |
download | gentoox-089765962b2dd9e65fc96cba49e5fe91eb6558b5.tar.gz gentoox-089765962b2dd9e65fc96cba49e5fe91eb6558b5.tar.bz2 gentoox-089765962b2dd9e65fc96cba49e5fe91eb6558b5.zip |
work on new 2022 release, drop old ruby and python
Diffstat (limited to 'patches/media-libs/osl/8682211d0bfe5c4be63a4a003d06037ff9721e66.patch')
-rw-r--r-- | patches/media-libs/osl/8682211d0bfe5c4be63a4a003d06037ff9721e66.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/patches/media-libs/osl/8682211d0bfe5c4be63a4a003d06037ff9721e66.patch b/patches/media-libs/osl/8682211d0bfe5c4be63a4a003d06037ff9721e66.patch deleted file mode 100644 index 34adf4c..0000000 --- a/patches/media-libs/osl/8682211d0bfe5c4be63a4a003d06037ff9721e66.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 8682211d0bfe5c4be63a4a003d06037ff9721e66 Mon Sep 17 00:00:00 2001 -From: Luya Tshimbalanga <luya@fedoraproject.org> -Date: Tue, 28 Sep 2021 10:08:01 -0700 -Subject: [PATCH] Fix compatibility with LLVM 12 and up (#1412) - -Upstream LLVM stopped using the compatibility -spellings of OF_{None,Text,Append} from version 12 and up. - -https://reviews.llvm.org/D101650 - -Signed-off-by: Luya Tshimbalanga <luya@fedoraproject.org> ---- - src/liboslexec/llvm_util.cpp | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp -index 4bd0dca35..4d0e1752d 100644 ---- a/src/liboslexec/llvm_util.cpp -+++ b/src/liboslexec/llvm_util.cpp -@@ -1407,7 +1407,9 @@ LLVM_Util::make_jit_execengine (std::string *err, - - options.NoZerosInBSS = false; - options.GuaranteedTailCallOpt = false; -+#if OSL_LLVM_VERSION < 120 - options.StackAlignmentOverride = 0; -+#endif - options.FunctionSections = true; - options.UseInitArray = false; - options.FloatABIType = llvm::FloatABI::Default; -@@ -5385,7 +5387,7 @@ void - LLVM_Util::write_bitcode_file (const char *filename, std::string *err) - { - std::error_code local_error; -- llvm::raw_fd_ostream out (filename, local_error, llvm::sys::fs::F_None); -+ llvm::raw_fd_ostream out (filename, local_error, llvm::sys::fs::OF_None); - if (! out.has_error()) { - llvm::WriteBitcodeToFile (*module(), out); - if (err && local_error) -@@ -5447,7 +5449,9 @@ LLVM_Util::ptx_compile_group (llvm::Module* lib_module, const std::string& name, - options.AllowFPOpFusion = llvm::FPOpFusion::Fast; - options.NoZerosInBSS = 0; - options.GuaranteedTailCallOpt = 0; -+#if OSL_LLVM_VERSION < 120 - options.StackAlignmentOverride = 0; -+#endif - options.UseInitArray = 0; - - llvm::TargetMachine* target_machine = llvm_target->createTargetMachine( |