SHA256
1
0
forked from pool/Mesa

Accepting request 86846 from home:namtrac:branches:X11:XOrg

Fix compilation with latest llvm, tested against Factory, please forward to Factory.

OBS-URL: https://build.opensuse.org/request/show/86846
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=181
This commit is contained in:
Stefan Dirsch 2011-10-06 03:44:16 +00:00 committed by Git OBS Bridge
parent e7ee92aa85
commit 8c3807c87d
2 changed files with 17 additions and 0 deletions

View File

@ -91,3 +91,15 @@ index 29dfb86..f44749d 100644
Printer->printInst(&Inst, Out);
#else
Printer->printInst(&Inst);
@@ -289,7 +314,11 @@
pc += Size;
+#if HAVE_LLVM >= 0x0300
+ const MCInstrDesc &TID = TII->get(Inst.getOpcode());
+#else
const TargetInstrDesc &TID = TII->get(Inst.getOpcode());
+#endif
/*
* Keep track of forward jumps to a nearby address.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 06 21:58:00 UTC 2011 - idonmez@suse.com
- Update Mesa-llvm-3.0.patch again to fix compilation
-------------------------------------------------------------------
Thu Sep 29 20:53:53 UTC 2011 - idonmez@suse.com