diff options
Diffstat (limited to 'meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch')
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch | 53 |
1 files changed, 31 insertions, 22 deletions
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch index c16e393f49..f9083e7934 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch | |||
@@ -18,8 +18,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
18 | trace.h | 3 ++- | 18 | trace.h | 3 ++- |
19 | 9 files changed, 12 insertions(+), 3 deletions(-) | 19 | 9 files changed, 12 insertions(+), 3 deletions(-) |
20 | 20 | ||
21 | diff --git a/brokerEnc.c b/brokerEnc.c | ||
22 | index 9115e71..889afcd 100644 | ||
23 | --- a/brokerEnc.c | 21 | --- a/brokerEnc.c |
24 | +++ b/brokerEnc.c | 22 | +++ b/brokerEnc.c |
25 | @@ -25,6 +25,8 @@ | 23 | @@ -25,6 +25,8 @@ |
@@ -31,8 +29,6 @@ index 9115e71..889afcd 100644 | |||
31 | extern const char *opGetClassNameChars(const CMPIObjectPath * cop); | 29 | extern const char *opGetClassNameChars(const CMPIObjectPath * cop); |
32 | extern const char *opGetNameSpaceChars(const CMPIObjectPath * cop); | 30 | extern const char *opGetNameSpaceChars(const CMPIObjectPath * cop); |
33 | extern CMPIConstClass *getConstClass(const char *ns, const char *cn); | 31 | extern CMPIConstClass *getConstClass(const char *ns, const char *cn); |
34 | diff --git a/brokerOs.c b/brokerOs.c | ||
35 | index 8d73a0b..b1427fd 100644 | ||
36 | --- a/brokerOs.c | 32 | --- a/brokerOs.c |
37 | +++ b/brokerOs.c | 33 | +++ b/brokerOs.c |
38 | @@ -22,6 +22,7 @@ | 34 | @@ -22,6 +22,7 @@ |
@@ -43,8 +39,6 @@ index 8d73a0b..b1427fd 100644 | |||
43 | 39 | ||
44 | static char * | 40 | static char * |
45 | resolveFileName(const char *filename) | 41 | resolveFileName(const char *filename) |
46 | diff --git a/mlog.c b/mlog.c | ||
47 | index a2d9eb7..6d9cd29 100644 | ||
48 | --- a/mlog.c | 42 | --- a/mlog.c |
49 | +++ b/mlog.c | 43 | +++ b/mlog.c |
50 | @@ -26,6 +26,7 @@ const char *_mlog_id = | 44 | @@ -26,6 +26,7 @@ const char *_mlog_id = |
@@ -55,8 +49,6 @@ index a2d9eb7..6d9cd29 100644 | |||
55 | #include <errno.h> | 49 | #include <errno.h> |
56 | #include <signal.h> | 50 | #include <signal.h> |
57 | #include "trace.h" /* for setSignal() */ | 51 | #include "trace.h" /* for setSignal() */ |
58 | diff --git a/mofc/backend_sfcb.c b/mofc/backend_sfcb.c | ||
59 | index 614abcd..99d4061 100644 | ||
60 | --- a/mofc/backend_sfcb.c | 52 | --- a/mofc/backend_sfcb.c |
61 | +++ b/mofc/backend_sfcb.c | 53 | +++ b/mofc/backend_sfcb.c |
62 | @@ -29,7 +29,7 @@ | 54 | @@ -29,7 +29,7 @@ |
@@ -68,8 +60,6 @@ index 614abcd..99d4061 100644 | |||
68 | 60 | ||
69 | extern CMPIStatus sfcb_simpleArrayAdd(CMPIArray * array, CMPIValue * val, CMPIType type); | 61 | extern CMPIStatus sfcb_simpleArrayAdd(CMPIArray * array, CMPIValue * val, CMPIType type); |
70 | extern CMPIObjectPath *getObjectPath(char *path, char **msg); | 62 | extern CMPIObjectPath *getObjectPath(char *path, char **msg); |
71 | diff --git a/sfcbdump.c b/sfcbdump.c | ||
72 | index 8a9c335..aa8559c 100644 | ||
73 | --- a/sfcbdump.c | 63 | --- a/sfcbdump.c |
74 | +++ b/sfcbdump.c | 64 | +++ b/sfcbdump.c |
75 | @@ -23,6 +23,7 @@ | 65 | @@ -23,6 +23,7 @@ |
@@ -80,8 +70,6 @@ index 8a9c335..aa8559c 100644 | |||
80 | #include "objectImpl.h" | 70 | #include "objectImpl.h" |
81 | 71 | ||
82 | #define BINARY_NAME argv[0] | 72 | #define BINARY_NAME argv[0] |
83 | diff --git a/sfcbdumpP32onI32.c b/sfcbdumpP32onI32.c | ||
84 | index ccf87dc..3540751 100644 | ||
85 | --- a/sfcbdumpP32onI32.c | 73 | --- a/sfcbdumpP32onI32.c |
86 | +++ b/sfcbdumpP32onI32.c | 74 | +++ b/sfcbdumpP32onI32.c |
87 | @@ -22,6 +22,7 @@ | 75 | @@ -22,6 +22,7 @@ |
@@ -92,8 +80,6 @@ index ccf87dc..3540751 100644 | |||
92 | #include <getopt.h> | 80 | #include <getopt.h> |
93 | #include "objectImpl.h" | 81 | #include "objectImpl.h" |
94 | #include <byteswap.h> | 82 | #include <byteswap.h> |
95 | diff --git a/sfcbsem.c b/sfcbsem.c | ||
96 | index 3f8de7f..1e6358b 100644 | ||
97 | --- a/sfcbsem.c | 83 | --- a/sfcbsem.c |
98 | +++ b/sfcbsem.c | 84 | +++ b/sfcbsem.c |
99 | @@ -21,6 +21,7 @@ | 85 | @@ -21,6 +21,7 @@ |
@@ -104,8 +90,6 @@ index 3f8de7f..1e6358b 100644 | |||
104 | #include <getopt.h> | 90 | #include <getopt.h> |
105 | #include <errno.h> | 91 | #include <errno.h> |
106 | 92 | ||
107 | diff --git a/trace.c b/trace.c | ||
108 | index 23597e1..c4f8011 100644 | ||
109 | --- a/trace.c | 93 | --- a/trace.c |
110 | +++ b/trace.c | 94 | +++ b/trace.c |
111 | @@ -25,6 +25,7 @@ | 95 | @@ -25,6 +25,7 @@ |
@@ -125,8 +109,6 @@ index 23597e1..c4f8011 100644 | |||
125 | int terminating = 0; | 109 | int terminating = 0; |
126 | int colorTrace; | 110 | int colorTrace; |
127 | 111 | ||
128 | diff --git a/trace.h b/trace.h | ||
129 | index ea39850..52d408d 100644 | ||
130 | --- a/trace.h | 112 | --- a/trace.h |
131 | +++ b/trace.h | 113 | +++ b/trace.h |
132 | @@ -25,6 +25,7 @@ | 114 | @@ -25,6 +25,7 @@ |
@@ -137,7 +119,7 @@ index ea39850..52d408d 100644 | |||
137 | extern unsigned long _sfcb_trace_mask; | 119 | extern unsigned long _sfcb_trace_mask; |
138 | /* use pointer indirect _sfcb_trace_mask to allow shared memory flag */ | 120 | /* use pointer indirect _sfcb_trace_mask to allow shared memory flag */ |
139 | extern unsigned long *_ptr_sfcb_trace_mask; | 121 | extern unsigned long *_ptr_sfcb_trace_mask; |
140 | @@ -162,7 +163,7 @@ extern sigHandler *setSignal(int sn, sigHandler * sh, int flags); | 122 | @@ -162,7 +163,7 @@ extern sigHandler *setSignal(int sn, sig |
141 | 123 | ||
142 | extern char *processName; | 124 | extern char *processName; |
143 | extern int providerProcess; | 125 | extern int providerProcess; |
@@ -146,6 +128,33 @@ index ea39850..52d408d 100644 | |||
146 | extern int terminating; | 128 | extern int terminating; |
147 | 129 | ||
148 | #endif | 130 | #endif |
149 | -- | 131 | --- a/support.c |
150 | 2.37.3 | 132 | +++ b/support.c |
151 | 133 | @@ -39,6 +39,7 @@ | |
134 | #include <err.h> | ||
135 | #endif | ||
136 | #include <errno.h> | ||
137 | +#include <string.h> /* memcpy */ | ||
138 | #include "native.h" | ||
139 | #include "trace.h" | ||
140 | #include "control.h" | ||
141 | --- a/qualifier.c | ||
142 | +++ b/qualifier.c | ||
143 | @@ -19,6 +19,7 @@ | ||
144 | * | ||
145 | */ | ||
146 | |||
147 | +#include <string.h> /* memcpy */ | ||
148 | #include "objectImpl.h" | ||
149 | #include "qualifier.h" | ||
150 | |||
151 | --- a/objectImplSwapI32toP32.c | ||
152 | +++ b/objectImplSwapI32toP32.c | ||
153 | @@ -24,6 +24,7 @@ | ||
154 | #include <byteswap.h> | ||
155 | #include <stdio.h> | ||
156 | #include <stdlib.h> | ||
157 | +#include <string.h> /* memcpy */ | ||
158 | #include <sfcCommon/utilft.h> | ||
159 | #include <sys/utsname.h> | ||
160 | |||