File: add_missing_headers.patch

package info (click to toggle)
valkyrie 2.0.0-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 1,604 kB
  • ctags: 1,433
  • sloc: cpp: 10,319; xml: 635; makefile: 46; sh: 23
file content (45 lines) | stat: -rw-r--r-- 1,315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Description: valkyrie FTBFS due to some missing headers, add them
 This patch adds the missing headers needed for make valkyrie compilable with
 gcc-4.7 / g++-4.7 .
Author: Laszlo Boszormenyi (GCS) <gcs@debian.hu>

---
Origin: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
Forwarded: no
Last-Update: 2012-05-21

--- valkyrie-2.0.0.orig/src/objects/tool_object.cpp
+++ valkyrie-2.0.0/src/objects/tool_object.cpp
@@ -42,6 +42,8 @@ stopProcess()
        ->(timeout)-> killProc() ->(QtProc::kill)-> processDone() -> DONE
 */
 
+#include <unistd.h>
+
 #include "objects/tool_object.h"
 #include "toolview/toolview.h"
 #include "utils/vk_config.h"
--- valkyrie-2.0.0.orig/src/utils/vk_utils.cpp
+++ valkyrie-2.0.0/src/utils/vk_utils.cpp
@@ -17,6 +17,9 @@
 **
 ****************************************************************************/
 
+#include <sys/types.h>
+#include <unistd.h>
+
 #include "vk_utils.h"
 #include "options/vk_option.h"
 #include "utils/vk_config.h"        // vkname()
--- valkyrie-2.0.0.orig/src/utils/vk_config.cpp
+++ valkyrie-2.0.0/src/utils/vk_config.cpp
@@ -18,6 +18,9 @@
 **
 ****************************************************************************/
 
+#include <unistd.h>
+#include <sys/types.h>
+
 #include "vk_config.h"
 #include "objects/valkyrie_object.h"
 #include "options/vk_option.h"