File qemu-cvs-nofadvise64.patch of Package qemu

Index: qemu/linux-user/syscall.c
================================================================================
--- qemu/linux-user/syscall.c
+++ qemu/linux-user/syscall.c
@@ -5491,6 +5491,11 @@
 	break;
 #endif
 
+#ifdef TARGET_NR_fadvise64
+    case TARGET_NR_fadvise64:
+	goto unimplemented_nowarn;
+#endif
+
 #ifdef TARGET_NR_sched_getaffinity
     case TARGET_NR_sched_getaffinity:
     {
openSUSE Build Service is sponsored by