[Pkg-libvirt-commits] [libvirt] 01/03: Try to fix build failure kFreeBSD

Guido Guenther agx at moszumanska.debian.org
Fri May 2 09:07:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to branch experimental
in repository libvirt.

commit 6bd3b3e7b825208a1f58bab70aa1702d73844d27
Author: Guido Günther <agx at sigxcpu.org>
Date:   Tue Apr 8 23:15:43 2014 +0200

    Try to fix build failure kFreeBSD
---
 debian/patches/Include-param.h-on-kFreeBSD.patch | 21 +++++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/Include-param.h-on-kFreeBSD.patch b/debian/patches/Include-param.h-on-kFreeBSD.patch
new file mode 100644
index 0000000..2db02ee
--- /dev/null
+++ b/debian/patches/Include-param.h-on-kFreeBSD.patch
@@ -0,0 +1,21 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Tue, 8 Apr 2014 23:14:25 +0200
+Subject: Include param.h on kFreeBSD
+
+to fix (hopefully) fix the compilation error
+---
+ src/util/virprocess.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/util/virprocess.c b/src/util/virprocess.c
+index 9179d73..4d6c50d 100644
+--- a/src/util/virprocess.c
++++ b/src/util/virprocess.c
+@@ -40,6 +40,7 @@
+ #endif
+ 
+ #ifdef HAVE_BSD_CPU_AFFINITY
++# include <sys/param.h>
+ # include <sys/cpuset.h>
+ #endif
+ 
diff --git a/debian/patches/series b/debian/patches/series
index cc576f4..848d053 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@ Skip-vircgrouptest.patch
 tests-Don-t-crash-when-creating-the-config-object-fa.patch
 tests-Only-use-privileged-mode-if-Qemu-user-and-grou.patch
 libvirt-guests-avoid-bashism.patch
+Include-param.h-on-kFreeBSD.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git



More information about the Pkg-libvirt-commits mailing list