1 diff -ur sblim-sfcb-1.4.9/control.c sblim-sfcb-1.4.9-gcc10/control.c
2 --- sblim-sfcb-1.4.9/control.c 2021-10-13 21:37:49.873825576 +0200
3 +++ sblim-sfcb-1.4.9-gcc10/control.c 2021-10-13 21:36:53.004046593 +0200
6 long httpReqHandlerTimeout;
8 +const char * sfcBrokerStart;
10 * Kindly null terminate, always, even if might overwrite
11 * the last char of the truncated string.
12 diff -ur sblim-sfcb-1.4.9/control.h sblim-sfcb-1.4.9-gcc10/control.h
13 --- sblim-sfcb-1.4.9/control.h 2014-11-25 02:43:10.000000000 +0100
14 +++ sblim-sfcb-1.4.9-gcc10/control.h 2021-10-13 21:36:42.564087988 +0200
16 int getControlULong(char *id, unsigned long *val);
17 int getControlNum(char *id, long *val);
18 int getControlBool(char *id, int *val);
19 -const char * sfcBrokerStart;
20 +extern const char * sfcBrokerStart;
24 diff -ur sblim-sfcb-1.4.9/default.reg sblim-sfcb-1.4.9-gcc10/default.reg
25 --- sblim-sfcb-1.4.9/default.reg 2014-11-25 03:06:53.000000000 +0100
26 +++ sblim-sfcb-1.4.9-gcc10/default.reg 2021-10-13 21:37:07.817321652 +0200
29 namespace: root/interop
32 -# provider: ProfileProvider
33 -# location: sfcProfileProvider
36 -# namespace: root/interop
38 + provider: ProfileProvider
39 + location: sfcProfileProvider
42 + namespace: root/interop
45 provider: QualifierProvider
46 diff -ur sblim-sfcb-1.4.9/providerMgr.c sblim-sfcb-1.4.9-gcc10/providerMgr.c
47 --- sblim-sfcb-1.4.9/providerMgr.c 2014-11-25 02:43:12.000000000 +0100
48 +++ sblim-sfcb-1.4.9-gcc10/providerMgr.c 2021-10-13 21:35:30.974379261 +0200
53 +sigset_t mask, old_mask;
55 static pthread_mutex_t resultsocketMutex = PTHREAD_MUTEX_INITIALIZER;
57 extern CMPIBroker *Broker;
58 diff -ur sblim-sfcb-1.4.9/providerMgr.h sblim-sfcb-1.4.9-gcc10/providerMgr.h
59 --- sblim-sfcb-1.4.9/providerMgr.h 2014-11-25 02:43:12.000000000 +0100
60 +++ sblim-sfcb-1.4.9-gcc10/providerMgr.h 2021-10-13 21:34:41.104590547 +0200
62 BinResponseHdr *invokeProvider(BinRequestContext * ctx);
63 void freeResponseHeaders(BinResponseHdr ** resp,
64 BinRequestContext * ctx);
65 -sigset_t mask, old_mask;
66 +extern sigset_t mask, old_mask;
70 diff -ur sblim-sfcb-1.4.9/trace.c sblim-sfcb-1.4.9-gcc10/trace.c
71 --- sblim-sfcb-1.4.9/trace.c 2014-11-25 02:43:17.000000000 +0100
72 +++ sblim-sfcb-1.4.9-gcc10/trace.c 2021-10-13 21:33:31.551564675 +0200
74 int providerProcess = 0;
80 unsigned long _sfcb_trace_mask = 0;
81 diff -ur sblim-sfcb-1.4.9/trace.h sblim-sfcb-1.4.9-gcc10/trace.h
82 --- sblim-sfcb-1.4.9/trace.h 2021-10-13 21:37:49.873825576 +0200
83 +++ sblim-sfcb-1.4.9-gcc10/trace.h 2021-10-13 21:33:28.871576855 +0200
87 void changeTextColor(int reset);
89 +extern int colorTrace;
91 #define MAX_MSG_SIZE 1024 /* max length of trace message */