From 8c3807c87dfbbade00bb22b127a42cd529564f6bdd34fa7952f3e24f7e4b3fda Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 6 Oct 2011 03:44:16 +0000 Subject: [PATCH] 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 --- Mesa-llvm-3.0.patch | 12 ++++++++++++ Mesa.changes | 5 +++++ 2 files changed, 17 insertions(+) diff --git a/Mesa-llvm-3.0.patch b/Mesa-llvm-3.0.patch index 2641413..b675c7a 100644 --- a/Mesa-llvm-3.0.patch +++ b/Mesa-llvm-3.0.patch @@ -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. diff --git a/Mesa.changes b/Mesa.changes index 80c90ad..2776b70 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -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