[Pkg-libvirt-commits] [SCM] Libvirt debian packaging branch, master, updated. debian/0.5.1-5-7-g36efb6a
Guido Günther
agx at sigxcpu.org
Mon Feb 16 21:33:59 UTC 2009
The following commit has been merged in the master branch:
commit cf961f4e78dab91b9dd17b08bbee215ab8096a5f
Author: Guido Günther <agx at sigxcpu.org>
Date: Fri Jan 30 22:08:06 2009 +0100
don't fail on missing locales
Closes: #512721
diff --git a/debian/patches/0012-don-t-fail-on-missing-locales.patch b/debian/patches/0012-don-t-fail-on-missing-locales.patch
new file mode 100644
index 0000000..b7ddb91
--- /dev/null
+++ b/debian/patches/0012-don-t-fail-on-missing-locales.patch
@@ -0,0 +1,23 @@
+From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Fri, 23 Jan 2009 16:25:33 +0100
+Subject: [PATCH] don't fail on missing locales
+
+Closes: #512721
+---
+ src/virsh.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/virsh.c b/src/virsh.c
+index b8abb69..2a3efb3 100644
+--- a/src/virsh.c
++++ b/src/virsh.c
+@@ -6949,7 +6949,7 @@ main(int argc, char **argv)
+
+ if (!setlocale(LC_ALL, "")) {
+ perror("setlocale");
+- return -1;
++ /* failure to setup locale is not fatal */
+ }
+ if (!bindtextdomain(GETTEXT_PACKAGE, LOCALEBASEDIR)) {
+ perror("bindtextdomain");
+--
diff --git a/debian/patches/series b/debian/patches/series
index 3c173f3..a4eb81a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
0009-Open-qemu-monitor-log-O_APPEND-instead-of-O_TRUNC.patch
0010-raise-error-on-invalid-volume-format.patch
0011-Fix-missing-read-only-access-checks-CVE-2008-5086.patch
+0012-don-t-fail-on-missing-locales.patch
--
Libvirt debian packaging
More information about the Pkg-libvirt-commits
mailing list