From 81dc9a439eac470240393db14b0d50f65e4ae0c5 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 19 Oct 2011 18:22:03 +0100 Subject: [PATCH] Rebase patch1. --- ...achine-option-for-latest-qemu-thanks-Marku.patch | 13 +++++++------ libguestfs.spec | 5 +++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/0001-Fix-qemu-machine-option-for-latest-qemu-thanks-Marku.patch b/0001-Fix-qemu-machine-option-for-latest-qemu-thanks-Marku.patch index e1fe993..71347b9 100644 --- a/0001-Fix-qemu-machine-option-for-latest-qemu-thanks-Marku.patch +++ b/0001-Fix-qemu-machine-option-for-latest-qemu-thanks-Marku.patch @@ -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); } diff --git a/libguestfs.spec b/libguestfs.spec index 7f2cb77..26f1d62 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -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 - 1:1.13.22-1 +* Wed Oct 19 2011 Richard W.M. Jones - 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 - 1:1.13.21-4 - Add upstream patch to skip FUSE tests if there is no /dev/fuse.