File IA64-kvm-suse.patch of Package kvm

From: Raymund Will <rw@iridium.suse.de>
Date: Tue,  1 Oct 2008 11:40:05 +0200
Subject: [PATCH] KVM-ia64 build fix for SuSE Linux

---
 qemu/Makefile.target   |    6 ++++--
 qemu/ia64.ld           |    2 +-
 qemu/target-ia64/cpu.h |    2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

Index: qemu-kvm-0.12.0-rc0/ia64.ld
===================================================================
--- qemu-kvm-0.12.0-rc0.orig/ia64.ld
+++ qemu-kvm-0.12.0-rc0/ia64.ld
@@ -2,6 +2,7 @@
 OUTPUT_FORMAT("elf64-ia64-little", "elf64-ia64-little",
 	      "elf64-ia64-little")
 OUTPUT_ARCH(ia64)
+SEARCH_DIR("/usr/ia64-suse-linux/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
 ENTRY(_start)
 /* __DYNAMIC = 0;    */
 SECTIONS
Index: qemu-kvm-0.12.0-rc0/configure
===================================================================
--- qemu-kvm-0.12.0-rc0.orig/configure
+++ qemu-kvm-0.12.0-rc0/configure
@@ -2664,7 +2664,7 @@ alpha)
   cflags="-msmall-data $cflags"
 ;;
 ia64)
-  cflags="-mno-sdata $cflags"
+  cflags="-msdata $cflags"
 ;;
 esac