[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, experimental, updated. debian/0.9.0_rc2-2

Guido Günther agx at sigxcpu.org
Fri Apr 1 08:26:23 UTC 2011


The following commit has been merged in the experimental branch:
commit 7da1fd9a1889c52febd2f08f34021ae75e8ed069
Author: Guido Günther <agx at sigxcpu.org>
Date:   Thu Mar 31 22:15:51 2011 +0200

    New patch Make-macros-work-as-rvalues.patch
    
    fixes kFreeBSD build

diff --git a/debian/patches/Make-macros-work-as-rvalues.patch b/debian/patches/Make-macros-work-as-rvalues.patch
new file mode 100644
index 0000000..ad6b353
--- /dev/null
+++ b/debian/patches/Make-macros-work-as-rvalues.patch
@@ -0,0 +1,25 @@
+From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Thu, 31 Mar 2011 22:13:54 +0200
+Subject: Make macros work as rvalues
+
+fixes kFreeBSD build
+---
+ src/node_device/node_device_driver.h |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/node_device/node_device_driver.h b/src/node_device/node_device_driver.h
+index 4721be4..e583c2b 100644
+--- a/src/node_device/node_device_driver.h
++++ b/src/node_device/node_device_driver.h
+@@ -78,8 +78,8 @@ int read_wwn_linux(int host, const char *file, char **wwn);
+ 
+ # else  /* __linux__ */
+ 
+-#  define check_fc_host(d)
+-#  define check_vport_capable(d)
++#  define check_fc_host(d)                      (-1)
++#  define check_vport_capable(d)                (-1)
+ #  define get_physical_function(sysfs_path, d)
+ #  define get_virtual_functions(sysfs_path, d)
+ #  define read_wwn(host, file, wwn)
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 466bf3f..c922ae2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ Autodetect-if-the-remote-nc-command-supports-the-q-o.patch
 patch-qemuMonitorTextGetMigrationStatus-to-intercept.patch
 Disable-CHECKSUM-rule.patch
 Debianize-libvirt-guests.patch
+Make-macros-work-as-rvalues.patch

-- 
Libvirt Debian packaging



More information about the Pkg-libvirt-commits mailing list