summaryrefslogtreecommitdiffstats
path: root/mesa-9.0.1-less-cxx-please.patch
blob: 4882782fbb442de5dee197f1a748611e21301f5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -up Mesa-9.0.1/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.jx Mesa-9.0.1/src/gallium/drivers/nv50/codegen/nv50_ir.cpp
--- Mesa-9.0.1/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.jx	2012-08-31 19:33:41.000000000 -0400
+++ Mesa-9.0.1/src/gallium/drivers/nv50/codegen/nv50_ir.cpp	2012-12-20 12:58:02.115699825 -0500
@@ -715,7 +715,9 @@ Instruction::clone(ClonePolicy<Function>
 {
    if (!i)
       i = new_Instruction(pol.context(), op, dType);
+#ifdef __GXX_RTTI
    assert(typeid(*i) == typeid(*this));
+#endif
 
    pol.set<Instruction>(this, i);