File u_add_llvm_codegen_dependencies.patch of Package Mesa.5370

Index: mesa-11.2.1/configure.ac
===================================================================
--- mesa-11.2.1.orig/configure.ac
+++ mesa-11.2.1/configure.ac
@@ -2050,7 +2050,7 @@ if test "x$enable_gallium_llvm" = xyes;
             AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer is required])
         fi
 
-        LLVM_COMPONENTS="engine bitwriter mcjit mcdisassembler"
+        LLVM_COMPONENTS="codegen engine bitwriter mcjit mcdisassembler"
 
         if test "x$enable_opencl" = xyes; then
             llvm_check_version_for "3" "5" "0" "opencl"
openSUSE Build Service is sponsored by