Blame SOURCES/esc-1.1.2-fix11.patch

f477a5
diff -up ./esc/src/lib/coolkey/Makefile.am.fix11 ./esc/src/lib/coolkey/Makefile.am
f477a5
--- ./esc/src/lib/coolkey/Makefile.am.fix11	2021-09-23 15:54:17.207378817 -0700
f477a5
+++ ./esc/src/lib/coolkey/Makefile.am	2021-09-23 17:36:26.312894242 -0700
f477a5
@@ -24,6 +24,7 @@ EXTRA_DIST =
f477a5
 DISTCLEANFILES =
f477a5
 lib_LTLIBRARIES =
f477a5
 bin_PROGRAMS =
f477a5
+COOLKEY_CFLAGS=-D_FORTIFY_SOURCE=2 -fcf-protection=full
f477a5
 
f477a5
 AM_CPPFLAGS += \
f477a5
 	$(COOLKEY_CFLAGS) \
f477a5
@@ -51,8 +52,8 @@ source_c           = \
f477a5
 
f477a5
 lib_LTLIBRARIES += libCoolkey-1.0.la
f477a5
 
f477a5
-libCoolkey_1_0_la_CFLAGS = @PCSC_CFLAGS@ @NSPR_CFLAGS@ @NSS_CFLAGS@  -I ../nss-http-client
f477a5
-libCoolkey_1_0_la_CPPFLAGS = @PCSC_CFLAGS@ @NSPR_CFLAGS@ @NSS_CFLAGS@ -I ../nss-http-client
f477a5
+libCoolkey_1_0_la_CFLAGS = @PCSC_CFLAGS@ @NSPR_CFLAGS@ @NSS_CFLAGS@ $(AM_CFLAGS)  -I ../nss-http-client
f477a5
+libCoolkey_1_0_la_CPPFLAGS = @PCSC_CFLAGS@ @NSPR_CFLAGS@ @NSS_CFLAGS@ $(AM_CPPFLAGS) -I ../nss-http-client
f477a5
 libCoolkey_1_0_la_LIBADD = $(COOLKEY_LIBS)
f477a5
 libCoolkey_1_0_la_LDFLAGS = -Wl,-z,now
f477a5
 libCoolkey_1_0_la_SOURCES = $(source_c) $(source_cpp)
f477a5
diff -up ./esc/src/lib/coolkey-mgr/Makefile.am.fix11 ./esc/src/lib/coolkey-mgr/Makefile.am
f477a5
--- ./esc/src/lib/coolkey-mgr/Makefile.am.fix11	2021-09-23 17:37:12.680837943 -0700
f477a5
+++ ./esc/src/lib/coolkey-mgr/Makefile.am	2021-09-23 18:25:02.611294039 -0700
f477a5
@@ -24,8 +24,9 @@ EXTRA_DIST =
f477a5
 DISTCLEANFILES =
f477a5
 lib_LTLIBRARIES =
f477a5
 bin_PROGRAMS =
f477a5
+COOLKEY_MGR_CFLAGS=-fcf-protection=full
f477a5
 
f477a5
-OTHER_CPPFLAGS = -I ../coolkey $(PCSC_CFLAGS)
f477a5
+OTHER_CPPFLAGS = -I ../coolkey $(PCSC_CFLAGS) $(COOLKEY_MGR_CFLAGS)
f477a5
 OTHER_LIBS = -L../coolkey/.libs -lCoolkey-1.0 -L../nss-http-client/.libs -lNssHttpClient-1.0 $(DBUS_LIBS)
f477a5
 ESC_CFLAGS += $(DBUS_CFLAGS)
f477a5
 
f477a5
diff -up ./esc/src/lib/nss-http-client/Makefile.am.fix11 ./esc/src/lib/nss-http-client/Makefile.am
f477a5
--- ./esc/src/lib/nss-http-client/Makefile.am.fix11	2021-09-23 16:09:43.841312015 -0700
f477a5
+++ ./esc/src/lib/nss-http-client/Makefile.am	2021-09-23 17:36:44.518872136 -0700
f477a5
@@ -24,6 +24,7 @@ EXTRA_DIST =
f477a5
 DISTCLEANFILES =
f477a5
 lib_LTLIBRARIES =
f477a5
 bin_PROGRAMS =
f477a5
+NSS_HTTP_CLIENT_CFLAGS=-D_FORTIFY_SOURCE=2 -fcf-protection=full
f477a5
 AM_CPPFLAGS += \
f477a5
 	$(NSS_HTTP_CLIENT_CFLAGS) \
f477a5
 	$(NULL)
f477a5
@@ -49,8 +50,8 @@ source_c           = \
f477a5
 MYDEFS = @DEFS@
f477a5
 lib_LTLIBRARIES += libNssHttpClient-1.0.la
f477a5
 
f477a5
-#libNssHttpClient_1_0_la_CFLAGS = @PCSC_CFLAGS@ @NSPR_CFLAGS@ @NSS_CFLAGS@ -DLINUX -I ../coolkey
f477a5
-libNssHttpClient_1_0_la_CPPFLAGS = @PCSC_CFLAGS@ @NSPR_CFLAGS@ @NSS_CFLAGS@ -I ../coolkey @DEFS@
f477a5
+#libNssHttpClient_1_0_la_CFLAGS = @PCSC_CFLAGS@ @NSPR_CFLAGS@ @NSS_CFLAGS@ -DLINUX  $(AM_CFLAGS) -I ../coolkey
f477a5
+libNssHttpClient_1_0_la_CPPFLAGS = @PCSC_CFLAGS@ @NSPR_CFLAGS@ @NSS_CFLAGS@ $(AM_CPPFLAGS) -I ../coolkey @DEFS@
f477a5
 libNssHttpClient_1_0_la_LIBADD = $(COOLKEY_LIBS)
f477a5
 libNssHttpClient_1_0_la_LDFLAGS = -Wl,-z,now
f477a5
 libNssHttpClient_1_0_la_SOURCES = $(source_c) $(source_cpp) $(source_h)