Rebase patch1.

This commit is contained in:
Richard W.M. Jones 2011-10-19 18:22:03 +01:00
parent 1a7ac3f9c8
commit 81dc9a439e
2 changed files with 10 additions and 8 deletions

View File

@ -1,5 +1,6 @@
--- libguestfs-1.13.6.old/src/launch.c 2011-08-18 18:02:56.000000000 +0100
+++ libguestfs-1.13.6/src/launch.c 2011-08-19 12:56:00.131758605 +0100
diff -ur libguestfs-1.13.22.old/src/launch.c libguestfs-1.13.22/src/launch.c
--- libguestfs-1.13.22.old/src/launch.c 2011-10-19 16:27:38.000000000 +0100
+++ libguestfs-1.13.22/src/launch.c 2011-10-19 18:19:32.160093691 +0100
@@ -76,10 +76,10 @@
static void print_qemu_command_line (guestfs_h *g, char **argv);
static int connect_unix_socket (guestfs_h *g, const char *sock);
@ -28,9 +29,9 @@
}
-#endif
/* Add a string to the current command line. */
/* Functions to add a string to the current command line. */
static void
@@ -517,14 +519,19 @@
@@ -596,14 +598,19 @@
if (qemu_supports (g, "-nodefconfig"))
add_cmdline (g, "-nodefconfig");
@ -55,7 +56,7 @@
/* qemu sometimes needs this option to enable hardware
* virtualization, but some versions of 'qemu-kvm' will use KVM
* regardless (even where this option appears in the help text).
@@ -1153,7 +1160,6 @@
@@ -1254,7 +1261,6 @@
return strstr (g->qemu_help, option) != NULL;
}
@ -63,7 +64,7 @@
/* As above but using a regex instead of a fixed string. */
static int
qemu_supports_re (guestfs_h *g, const pcre *option_regex)
@@ -1165,7 +1171,6 @@
@@ -1266,7 +1272,6 @@
return match (g, g->qemu_help, option_regex);
}

View File

@ -30,7 +30,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs
Epoch: 1
Version: 1.13.22
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://libguestfs.org/
@ -897,10 +897,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Oct 19 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.13.22-1
* Wed Oct 19 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.13.22-2
- New upstream version 1.13.22.
- Remove 3x upstream patches.
- Renumber the two remaining non-upstream patches as patch0, patch1.
- Rebase patch1.
* Mon Oct 17 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.13.21-4
- Add upstream patch to skip FUSE tests if there is no /dev/fuse.