[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, master, updated. debian/1.0.5-2

Guido Günther agx at sigxcpu.org
Fri May 3 14:45:31 UTC 2013


The following commit has been merged in the master branch:
commit 031648a394f16b6e94dd68f7426ec481eb249a6b
Author: Guido Günther <agx at sigxcpu.org>
Date:   Fri May 3 10:41:54 2013 +0200

    Fixup rpcgen code on kFreeBSD too

diff --git a/debian/patches/Fixup-rpcgen-code-on-kFreeBSD-too.patch b/debian/patches/Fixup-rpcgen-code-on-kFreeBSD-too.patch
new file mode 100644
index 0000000..1cec2b8
--- /dev/null
+++ b/debian/patches/Fixup-rpcgen-code-on-kFreeBSD-too.patch
@@ -0,0 +1,22 @@
+From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Fri, 3 May 2013 07:17:18 +0200
+Subject: Fixup rpcgen code on kFreeBSD too
+
+since it uses glibc's rpcgen.
+---
+ src/rpc/genprotocol.pl |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/rpc/genprotocol.pl b/src/rpc/genprotocol.pl
+index c8c1570..f02ce13 100755
+--- a/src/rpc/genprotocol.pl
++++ b/src/rpc/genprotocol.pl
+@@ -31,7 +31,7 @@ open RPCGEN, "-|", $rpcgen, $mode, $xdrdef
+ open TARGET, ">$target"
+     or die "cannot create $target: $!";
+ 
+-my $fixup = $^O eq "linux" || $^O eq "cygwin";
++my $fixup = $^O eq "linux" || $^O eq "cygwin" || $^O eq "gnukfreebsd";
+ 
+ if ($mode eq "-c") {
+     print TARGET "#include <config.h>\n";
diff --git a/debian/patches/series b/debian/patches/series
index 7a3fd87..42e7b89 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@ Allow-xen-toolstack-to-find-it-s-binaries.patch
 virthreadpthread-don-t-try-to-cast-pthread_t-to-void.patch
 Add-sanitytest.py.patch
 virInitctlRequest-Don-t-hardcode-384-bytes-size.patch
+Fixup-rpcgen-code-on-kFreeBSD-too.patch

-- 
Libvirt Debian packaging



More information about the Pkg-libvirt-commits mailing list