openblas: update to 0.3.29
[oi-userland.git] / components / library / vte-291 / patches / 07-src-reaper.cc.patch
blob3741f38d4efe5657d5610733569e5933dd05488d
1 --- vte-0.78.2/src/reaper.cc.orig
2 +++ vte-0.78.2/src/reaper.cc
3 @@ -187,7 +187,7 @@
4 _exit(30);
5 break;
6 default:
7 - g_print("[parent] Starting to wait for %d.\n", p);
8 + g_print("[parent] Starting to wait for %ld.\n", (long) p);
9 vte_reaper_add_child(p);
10 child = p;
11 g_signal_connect(reaper,
12 @@ -211,7 +211,7 @@
13 _exit(5);
14 break;
15 default:
16 - g_print("[parent] Not waiting for %d.\n", q);
17 + g_print("[parent] Not waiting for %ld.\n", (long) q);
18 break;
21 --- vte-0.78.2/src/vte.cc.orig
22 +++ vte-0.78.2/src/vte.cc
23 @@ -3708,15 +3708,15 @@
24 return;
26 _VTE_DEBUG_IF (VTE_DEBUG_LIFECYCLE) {
27 - g_printerr ("Child[%d] exited with status %d\n",
28 - pid, status);
29 + g_printerr ("Child[%ld] exited with status %d\n",
30 + (long)pid, status);
31 #ifdef HAVE_SYS_WAIT_H
32 if (WIFEXITED (status)) {
33 - g_printerr ("Child[%d] exit code %d.\n",
34 - pid, WEXITSTATUS (status));
35 + g_printerr ("Child[%ld] exit code %d.\n",
36 + (long)pid, WEXITSTATUS (status));
37 } else if (WIFSIGNALED (status)) {
38 - g_printerr ("Child[%d] dies with signal %d.\n",
39 - pid, WTERMSIG (status));
40 + g_printerr ("Child[%ld] dies with signal %d.\n",
41 + (long)pid, WTERMSIG (status));
43 #endif
45 --- vte-0.78.2/src/widget.cc.orig
46 +++ vte-0.78.2/src/widget.cc
47 @@ -20,7 +20,7 @@
49 #include "widget.hh"
51 -#include <sys/wait.h> // for W_EXITCODE
52 +#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
54 #include <exception>
55 #include <new>