f18f683ba6
xen-4.7.0-testing-src.tar.bz2 - Dropped: xen-4.6.1-testing-src.tar.bz2 55f7f9d2-libxl-slightly-refine-pci-assignable-add-remove-handling.patch 5628fc67-libxl-No-emulated-disk-driver-for-xvdX-disk.patch 5644b756-x86-HVM-don-t-inject-DB-with-error-code.patch 5649bcbe-libxl-relax-readonly-check-introduced-by-XSA-142-fix.patch hotplug-Linux-block-performance-fix.patch set-mtu-from-bridge-for-tap-interface.patch xendomains-libvirtd-conflict.patch xsa154.patch xsa155-xen-0001-xen-Add-RING_COPY_REQUEST.patch xsa155-xen-0002-blktap2-Use-RING_COPY_REQUEST.patch xsa155-xen-0003-libvchan-Read-prod-cons-only-once.patch xsa170.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=414
23 lines
788 B
Diff
23 lines
788 B
Diff
References: bsc#969377 - xen does not build with GCC 6
|
|
|
|
Index: xen-4.7.0-testing/extras/mini-os-remote/lib/sys.c
|
|
===================================================================
|
|
--- xen-4.7.0-testing.orig/extras/mini-os-remote/lib/sys.c
|
|
+++ xen-4.7.0-testing/extras/mini-os-remote/lib/sys.c
|
|
@@ -634,6 +634,7 @@ int closedir(DIR *dir)
|
|
|
|
/* We assume that only the main thread calls select(). */
|
|
|
|
+#if defined(LIBC_VERBOSE) || defined(LIBC_DEBUG)
|
|
static const char file_types[] = {
|
|
[FTYPE_NONE] = 'N',
|
|
[FTYPE_CONSOLE] = 'C',
|
|
@@ -646,6 +647,7 @@ static const char file_types[] = {
|
|
[FTYPE_KBD] = 'K',
|
|
[FTYPE_FB] = 'G',
|
|
};
|
|
+#endif
|
|
#ifdef LIBC_DEBUG
|
|
static void dump_set(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
|
|
{
|