summaryrefslogtreecommitdiff
path: root/Software/gallium
diff options
context:
space:
mode:
author67.164.183.155 <c-67-164-183-155.hsd1.co.comcast.net>2009-11-07 05:44:07 +0000
committer67.164.183.155 <c-67-164-183-155.hsd1.co.comcast.net>2009-11-07 05:44:07 +0000
commit40a3e8f44dffbc8561c081cf002cab4ff7854a7f (patch)
tree5a50bdabb5d46b607a8cebc99d1aec835481b67d /Software/gallium
parent0cb1f95effc6480b1c2c0d1798444d619e2256d4 (diff)
Diffstat (limited to 'Software/gallium')
-rw-r--r--Software/gallium/EGLReferenceDrivers/linuxvmimage.moin14
1 files changed, 14 insertions, 0 deletions
diff --git a/Software/gallium/EGLReferenceDrivers/linuxvmimage.moin b/Software/gallium/EGLReferenceDrivers/linuxvmimage.moin
index 3a3fd469..413016c4 100644
--- a/Software/gallium/EGLReferenceDrivers/linuxvmimage.moin
+++ b/Software/gallium/EGLReferenceDrivers/linuxvmimage.moin
@@ -117,6 +117,20 @@ make
sudo make install
}}}
+ 1. Patch llvm header to fix typo{{{
+--- /usr/include/llvm-c/Core.h.orig 2009-08-10 15:38:54.000000000 +0100
++++ /usr/include/llvm-c/Core.h 2009-08-10 15:38:25.000000000 +0100
+@@ -831,7 +831,7 @@
+ template<typename T>
+ inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
+ #if DEBUG
+- for (LLVMValueRef *I = Vals, E = Vals + Length; I != E; ++I)
++ for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
+ cast<T>(*I);
+ #endif
+ return reinterpret_cast<T**>(Vals);
+}}}
+
1. Build llvmpipe{{{
cd $GALLIUM
scons debug=yes statetrackers=mesa drivers=llvmpipe winsys=xlib dri=false -k