summaryrefslogtreecommitdiffstats
path: root/disk/xcdroast/io_progressbar_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disk/xcdroast/io_progressbar_fix.patch')
-rw-r--r--disk/xcdroast/io_progressbar_fix.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/disk/xcdroast/io_progressbar_fix.patch b/disk/xcdroast/io_progressbar_fix.patch
new file mode 100644
index 0000000000..5632c1ff87
--- /dev/null
+++ b/disk/xcdroast/io_progressbar_fix.patch
@@ -0,0 +1,39 @@
+--- src/io.c.last So. Jan 24 19:18:45 2010
++++ src/io.c Fr. Jul 16 10:59:32 2010
+@@ -3202,6 +3202,8 @@
+ close(fd2[1]);
+ }
+
++ g_setenv("LC_ALL", "C", TRUE);
++
+ /* startup child */
+ if (execl("/bin/sh", "sh", "-c", cmd ,(void *)NULL) < 0) {
+ g_error("execl error\n");
+@@ -3402,6 +3404,8 @@
+ close(fd3[1]);
+ }
+
++ g_setenv("LC_ALL", "C", TRUE);
++
+ /* startup child */
+ if (execv(callpath,arglist) < 0) {
+ g_error("execv error\n");
+@@ -3506,6 +3510,8 @@
+ close(pipefd[1]);
+ }
+
++ g_setenv("LC_ALL", "C", TRUE);
++
+ /* startup first child */
+ if (execv(callpath,arglist) < 0) {
+ g_error("execv error\n");
+@@ -3568,6 +3574,8 @@
+ close(fd3[1]);
+ }
+
++ g_setenv("LC_ALL", "C", TRUE);
++
+ /* startup second child */
+ if (execv(callpath2,arglist2) < 0) {
+ g_error("execv error\n");
+