diff options
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-Avoid-variable-definition-in-header-files.patch | 100 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-Replace-need-for-error.h-when-it-does-not-exist.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/0001-Replace-need-for-error.h-when-it-does-not-exist.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-stdint.h-system-header-for-UINT16_MAX.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/0001-include-stdint.h-system-header-for-UINT16_MAX.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.15-fix-provider-debugging.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.15-fix-provider-debugging.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.16-maxMsgLen.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.16-maxMsgLen.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.16-multilib-man-cfg.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.16-multilib-man-cfg.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.5-service.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.5-service.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.8-default-ecdh-curve-name.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.8-default-ecdh-curve-name.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.9-fix-ftbfs.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-ftbfs.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch (renamed from meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sfcb.service (renamed from meta-oe/recipes-extended/sblim-sfcb/files/sfcb.service) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb | 1 |
13 files changed, 101 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-Avoid-variable-definition-in-header-files.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-Avoid-variable-definition-in-header-files.patch new file mode 100644 index 0000000000..b0b43f357c --- /dev/null +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-Avoid-variable-definition-in-header-files.patch | |||
@@ -0,0 +1,100 @@ | |||
1 | From fccbb85beb89b9ca35cac87fb553ef124a6c516b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 13 Aug 2020 17:26:14 -0700 | ||
4 | Subject: [PATCH] Avoid variable definition in header files | ||
5 | |||
6 | This can cause multiple definitions to be emitted into objects and link | ||
7 | fail as a result with gcc-10+ since it defaults to -fno-common, patch | ||
8 | moves the definitions to source files | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | control.h | 2 +- | ||
15 | providerMgr.c | 1 + | ||
16 | providerMgr.h | 2 +- | ||
17 | sfcBroker.c | 2 +- | ||
18 | trace.c | 1 + | ||
19 | trace.h | 2 +- | ||
20 | 6 files changed, 6 insertions(+), 4 deletions(-) | ||
21 | |||
22 | diff --git a/control.h b/control.h | ||
23 | index e41e4b9..5e15363 100644 | ||
24 | --- a/control.h | ||
25 | +++ b/control.h | ||
26 | @@ -28,7 +28,7 @@ int getControlUNum(char *id, unsigned int *val); | ||
27 | int getControlULong(char *id, unsigned long *val); | ||
28 | int getControlNum(char *id, long *val); | ||
29 | int getControlBool(char *id, int *val); | ||
30 | -const char * sfcBrokerStart; | ||
31 | +extern const char * sfcBrokerStart; | ||
32 | |||
33 | #endif | ||
34 | /* MODELINES */ | ||
35 | diff --git a/providerMgr.c b/providerMgr.c | ||
36 | index c38a7d3..ff6d38d 100644 | ||
37 | --- a/providerMgr.c | ||
38 | +++ b/providerMgr.c | ||
39 | @@ -53,6 +53,7 @@ | ||
40 | #define SFCB_ASM(x) | ||
41 | #endif | ||
42 | |||
43 | +sigset_t mask, old_mask; | ||
44 | static pthread_mutex_t resultsocketMutex = PTHREAD_MUTEX_INITIALIZER; | ||
45 | |||
46 | extern CMPIBroker *Broker; | ||
47 | diff --git a/providerMgr.h b/providerMgr.h | ||
48 | index 3cc7745..fbbfecd 100644 | ||
49 | --- a/providerMgr.h | ||
50 | +++ b/providerMgr.h | ||
51 | @@ -398,7 +398,7 @@ BinResponseHdr **invokeProviders(BinRequestContext * binCtx, int *err, | ||
52 | BinResponseHdr *invokeProvider(BinRequestContext * ctx); | ||
53 | void freeResponseHeaders(BinResponseHdr ** resp, | ||
54 | BinRequestContext * ctx); | ||
55 | -sigset_t mask, old_mask; | ||
56 | +extern sigset_t mask, old_mask; | ||
57 | |||
58 | #endif | ||
59 | /* MODELINES */ | ||
60 | diff --git a/sfcBroker.c b/sfcBroker.c | ||
61 | index ca043c9..85581f5 100644 | ||
62 | --- a/sfcBroker.c | ||
63 | +++ b/sfcBroker.c | ||
64 | @@ -53,7 +53,7 @@ | ||
65 | #endif | ||
66 | |||
67 | int sfcBrokerPid = 0; | ||
68 | - | ||
69 | +const char *sfcBrokerStart; | ||
70 | extern int sfcbUseSyslog; | ||
71 | |||
72 | extern void setExFlag(unsigned long f); | ||
73 | diff --git a/trace.c b/trace.c | ||
74 | index 438af46..23597e1 100644 | ||
75 | --- a/trace.c | ||
76 | +++ b/trace.c | ||
77 | @@ -52,6 +52,7 @@ char *processName = NULL; | ||
78 | int providerProcess = 0; | ||
79 | int idleThreadId = 0; | ||
80 | int terminating = 0; | ||
81 | +int colorTrace; | ||
82 | |||
83 | int _sfcb_debug = 0; | ||
84 | unsigned long _sfcb_trace_mask = 0; | ||
85 | diff --git a/trace.h b/trace.h | ||
86 | index 2c6d8be..ea39850 100644 | ||
87 | --- a/trace.h | ||
88 | +++ b/trace.h | ||
89 | @@ -130,7 +130,7 @@ typedef struct traceId { | ||
90 | #define CYAN 6 | ||
91 | #define WHITE 7 | ||
92 | void changeTextColor(int reset); | ||
93 | -int colorTrace; | ||
94 | +extern int colorTrace; | ||
95 | |||
96 | #define MAX_MSG_SIZE 1024 /* max length of trace message */ | ||
97 | |||
98 | -- | ||
99 | 2.28.0 | ||
100 | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/0001-Replace-need-for-error.h-when-it-does-not-exist.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-Replace-need-for-error.h-when-it-does-not-exist.patch index e723050237..e723050237 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/0001-Replace-need-for-error.h-when-it-does-not-exist.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-Replace-need-for-error.h-when-it-does-not-exist.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/0001-include-stdint.h-system-header-for-UINT16_MAX.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-stdint.h-system-header-for-UINT16_MAX.patch index c2111a2c10..c2111a2c10 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/0001-include-stdint.h-system-header-for-UINT16_MAX.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-stdint.h-system-header-for-UINT16_MAX.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.15-fix-provider-debugging.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.15-fix-provider-debugging.patch index 4fbecaa63f..4fbecaa63f 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.15-fix-provider-debugging.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.15-fix-provider-debugging.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.16-maxMsgLen.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.16-maxMsgLen.patch index a0dd81653d..a0dd81653d 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.16-maxMsgLen.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.16-maxMsgLen.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.16-multilib-man-cfg.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.16-multilib-man-cfg.patch index c8cece2c20..c8cece2c20 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.16-multilib-man-cfg.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.16-multilib-man-cfg.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch index 7f95a9da3f..7f95a9da3f 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.5-service.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.5-service.patch index eaccfa594c..eaccfa594c 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.5-service.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.5-service.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.8-default-ecdh-curve-name.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.8-default-ecdh-curve-name.patch index 3268d49f43..3268d49f43 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.8-default-ecdh-curve-name.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.8-default-ecdh-curve-name.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-ftbfs.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.9-fix-ftbfs.patch index 9548b3c063..9548b3c063 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-ftbfs.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.9-fix-ftbfs.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch index 7279d84a5d..7279d84a5d 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/files/sfcb.service b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sfcb.service index 5adf63c8a4..5adf63c8a4 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/files/sfcb.service +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/sfcb.service | |||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb index a527f773a6..3e4ed7c03c 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb | |||
@@ -26,6 +26,7 @@ SRC_URI = "http://downloads.sourceforge.net/sblim/${BP}.tar.bz2 \ | |||
26 | file://0001-include-stdint.h-system-header-for-UINT16_MAX.patch \ | 26 | file://0001-include-stdint.h-system-header-for-UINT16_MAX.patch \ |
27 | file://0001-Replace-need-for-error.h-when-it-does-not-exist.patch \ | 27 | file://0001-Replace-need-for-error.h-when-it-does-not-exist.patch \ |
28 | file://sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch \ | 28 | file://sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch \ |
29 | file://0001-Avoid-variable-definition-in-header-files.patch \ | ||
29 | " | 30 | " |
30 | 31 | ||
31 | SRC_URI[md5sum] = "28021cdabc73690a94f4f9d57254ce30" | 32 | SRC_URI[md5sum] = "28021cdabc73690a94f4f9d57254ce30" |