SHA256
1
0
forked from pool/Mesa

- redone u_add_llvm_codegen_dependencies.patch and renamed to

u_configure.ac-Link-to-libLLVMCodegen-to-fix-cyclic-li.patch
  (boo#1082307)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=709
This commit is contained in:
Stefan Dirsch 2018-02-23 13:24:29 +00:00 committed by Git OBS Bridge
parent cb8b1070ee
commit f35534c2f7
6 changed files with 43 additions and 14 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 23 13:19:41 UTC 2018 - sndirsch@suse.com
- redone u_add_llvm_codegen_dependencies.patch and renamed to
u_configure.ac-Link-to-libLLVMCodegen-to-fix-cyclic-li.patch
(boo#1082307)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 23 13:03:51 UTC 2018 - sndirsch@suse.com Fri Feb 23 13:03:51 UTC 2018 - sndirsch@suse.com

View File

@ -133,7 +133,7 @@ Source6: %{name}-rpmlintrc
Source7: Mesa.keyring Source7: Mesa.keyring
# to be upstreamed # to be upstreamed
Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
Patch12: u_add_llvm_codegen_dependencies.patch Patch12: u_configure.ac-Link-to-libLLVMCodegen-to-fix-cyclic-li.patch
# never to be upstreamed # never to be upstreamed
Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch
# currently needed for libglvnd support # currently needed for libglvnd support

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 23 13:19:41 UTC 2018 - sndirsch@suse.com
- redone u_add_llvm_codegen_dependencies.patch and renamed to
u_configure.ac-Link-to-libLLVMCodegen-to-fix-cyclic-li.patch
(boo#1082307)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 23 13:03:51 UTC 2018 - sndirsch@suse.com Fri Feb 23 13:03:51 UTC 2018 - sndirsch@suse.com

View File

@ -132,7 +132,7 @@ Source6: %{name}-rpmlintrc
Source7: Mesa.keyring Source7: Mesa.keyring
# to be upstreamed # to be upstreamed
Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
Patch12: u_add_llvm_codegen_dependencies.patch Patch12: u_configure.ac-Link-to-libLLVMCodegen-to-fix-cyclic-li.patch
# never to be upstreamed # never to be upstreamed
Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch
# currently needed for libglvnd support # currently needed for libglvnd support

View File

@ -1,12 +0,0 @@
Index: mesa-17.0.4/configure.ac
===================================================================
--- mesa-17.0.4.orig/configure.ac
+++ mesa-17.0.4/configure.ac
@@ -918,6 +918,7 @@ llvm_add_default_components() {
# Required default components
llvm_add_component "bitwriter" $driver_name
+ llvm_add_component "codegen" $driver_name
llvm_add_component "engine" $driver_name
llvm_add_component "mcdisassembler" $driver_name
llvm_add_component "mcjit" $driver_name

View File

@ -0,0 +1,27 @@
From 1431fecda9cd4c38eecb6bdc172a7af9ff72c056 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Fri, 23 Feb 2018 14:15:19 +0100
Subject: [PATCH] configure.ac: Link to libLLVMCodegen to fix cyclic linking
problems
Patch by "Ismail Doenmez" <idonmez@suse.com>
https://bugzilla.suse.com/show_bug.cgi?id=1082307
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 8a9172690a..a23eb844d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1032,6 +1032,7 @@ llvm_add_default_components() {
# Required default components
llvm_add_component "bitwriter" $driver_name
+ llvm_add_component "codegen" $driver_name
llvm_add_component "engine" $driver_name
llvm_add_component "mcdisassembler" $driver_name
llvm_add_component "mcjit" $driver_name
--
2.13.6