Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package coolkey for openSUSE:Factory checked in at 2024-11-18 20:02:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/coolkey (Old) and /work/SRC/openSUSE:Factory/.coolkey.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "coolkey" Mon Nov 18 20:02:20 2024 rev:25 rq:1224837 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/coolkey/coolkey.changes 2024-02-29 21:50:38.766630667 +0100 +++ /work/SRC/openSUSE:Factory/.coolkey.new.2017/coolkey.changes 2024-11-18 20:03:16.954332322 +0100 @@ -1,0 +2,6 @@ +Sat Nov 9 15:18:07 UTC 2024 - Angel Yankov <[email protected]> + +- Fix build with gcc14 by ignoring some new errors + * Added coolkey-1.1.0-fix-build-gcc14.patch + +------------------------------------------------------------------- New: ---- coolkey-1.1.0-fix-build-gcc14.patch BETA DEBUG BEGIN: New:- Fix build with gcc14 by ignoring some new errors * Added coolkey-1.1.0-fix-build-gcc14.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ coolkey.spec ++++++ --- /var/tmp/diff_new_pack.NczR9L/_old 2024-11-18 20:03:17.642361100 +0100 +++ /var/tmp/diff_new_pack.NczR9L/_new 2024-11-18 20:03:17.646361267 +0100 @@ -1,7 +1,7 @@ # # spec file for package coolkey # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -55,6 +55,8 @@ Patch25: coolkey-1.1.0-fail-on-bad-mechanisms.patch Patch26: coolkey-1.1.0-max-cpu-bug.patch Patch27: coolkey-1.1.0-rhel7-alt-cac.patch +Patch28: coolkey-1.1.0-fix-build-gcc14.patch + BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: mozilla-nss-devel @@ -63,7 +65,7 @@ BuildRequires: pcsc-lite-devel BuildRequires: pkgconfig BuildRequires: zlib-devel -#Requires: pcsc-lite +Requires: pcsc-lite # Requires: ifd-egate Requires: pcsc-ccid # 390 does not have libusb or smartCards @@ -123,10 +125,11 @@ %patch -P 25 %patch -P 26 %patch -P 27 +%patch -P 28 -p1 %build autoreconf -f -i -export CFLAGS="%{optflags} -fno-strict-aliasing" +export CFLAGS="%{optflags} -fno-strict-aliasing " export CXXFLAGS="%{optflags} -fno-strict-aliasing" %configure\ --with-debug\ ++++++ coolkey-1.1.0-fix-build-gcc14.patch ++++++ Index: coolkey-1.1.0/src/install/pk11install.c =================================================================== --- coolkey-1.1.0.orig/src/install/pk11install.c +++ coolkey-1.1.0/src/install/pk11install.c @@ -200,9 +200,14 @@ installPKCS11(char *dirPath, char *dbTyp /* don't call this if you have NSS initialized!!, use SECMOD_AddModule * or SECMOD_AddUserModule instead */ + + /* Ignore this missing in the header for gcc14 */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wimplicit-function-declaration" rc = (char **) NSC_ModuleDBFunc(type == Install ? SECMOD_MODULE_DB_FUNCTION_ADD : SECMOD_MODULE_DB_FUNCTION_DEL, paramString, module); +#pragma GCC diagnostic pop if (verbose) { fprintf(stderr, "Install \"%s\" in %s : %s\n", module, dirPath, rc ? *rc : "Fail" );
