diff -Nru sblim-sfcb-1.4.9/debian/changelog sblim-sfcb-1.4.9/debian/changelog --- sblim-sfcb-1.4.9/debian/changelog 2021-12-09 00:17:40.000000000 +0000 +++ sblim-sfcb-1.4.9/debian/changelog 2022-03-01 01:22:58.000000000 +0000 @@ -1,3 +1,12 @@ +sblim-sfcb (1.4.9-0ubuntu7) jammy; urgency=medium + + * d/patches/ftbfs.patch: Fix two build issues: + - Add missing dependencies in Makefile.am + - Convert some definitions in header files to declartions to fix build now + that -fno-common is the default. + + -- Michael Hudson-Doyle Tue, 01 Mar 2022 14:22:58 +1300 + sblim-sfcb (1.4.9-0ubuntu6) jammy; urgency=medium * No-change rebuild against libssl3 diff -Nru sblim-sfcb-1.4.9/debian/patches/ftbfs.diff sblim-sfcb-1.4.9/debian/patches/ftbfs.diff --- sblim-sfcb-1.4.9/debian/patches/ftbfs.diff 1970-01-01 00:00:00.000000000 +0000 +++ sblim-sfcb-1.4.9/debian/patches/ftbfs.diff 2022-03-01 01:22:58.000000000 +0000 @@ -0,0 +1,78 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -360,9 +360,11 @@ + + sfcbinst2mof_SOURCES=sfcbinst2mof.c + sfcbinst2mof_LDADD = -lsfcFileRepository -lsfcBrokerCore ++sfcbinst2mof_DEPENDENCIES=libsfcFileRepository.la libsfcBrokerCore.la + + sfcbtrace_SOURCES=sfcbtrace.c + sfcbtrace_LDADD = -lsfcBrokerCore ++sfcbtrace_DEPENDENCIES=libsfcBrokerCore.la + + classSchema2c_SOURCES=classSchema2c.c + classSchema2c_LDADD=-lsfcBrokerCore +--- a/trace.c ++++ b/trace.c +@@ -52,6 +52,7 @@ + int providerProcess = 0; + int idleThreadId = 0; + int terminating = 0; ++int colorTrace = 0; + + int _sfcb_debug = 0; + unsigned long _sfcb_trace_mask = 0; +--- a/trace.h ++++ b/trace.h +@@ -130,7 +130,7 @@ + #define CYAN 6 + #define WHITE 7 + void changeTextColor(int reset); +-int colorTrace; ++extern int colorTrace; + + #define MAX_MSG_SIZE 1024 /* max length of trace message */ + +--- a/providerMgr.c ++++ b/providerMgr.c +@@ -102,6 +102,8 @@ + + extern char *opsName[]; + ++sigset_t mask, old_mask; ++ + static UtilList *_getConstClassChildren(const char *ns, const char *cn); + static CMPIConstClass *_getConstClass(const char *ns, const char *cn, + CMPIStatus *st); +--- a/providerMgr.h ++++ b/providerMgr.h +@@ -398,7 +398,7 @@ + BinResponseHdr *invokeProvider(BinRequestContext * ctx); + void freeResponseHeaders(BinResponseHdr ** resp, + BinRequestContext * ctx); +-sigset_t mask, old_mask; ++extern sigset_t mask, old_mask; + + #endif + /* MODELINES */ +--- a/control.c ++++ b/control.c +@@ -78,6 +78,7 @@ + int useCDATA; + int httpProcIdX; + long httpReqHandlerTimeout; ++const char * sfcBrokerStart; + + /** + * Kindly null terminate, always, even if might overwrite +--- a/control.h ++++ b/control.h +@@ -28,7 +28,7 @@ + int getControlULong(char *id, unsigned long *val); + int getControlNum(char *id, long *val); + int getControlBool(char *id, int *val); +-const char * sfcBrokerStart; ++extern const char * sfcBrokerStart; + + #endif + /* MODELINES */ diff -Nru sblim-sfcb-1.4.9/debian/patches/series sblim-sfcb-1.4.9/debian/patches/series --- sblim-sfcb-1.4.9/debian/patches/series 2015-10-21 03:23:36.000000000 +0000 +++ sblim-sfcb-1.4.9/debian/patches/series 2022-03-01 01:22:53.000000000 +0000 @@ -2,3 +2,4 @@ xmltest-uses-bash.diff automake_srcdir.patch gcc5-ftbfs.diff +ftbfs.diff