Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xmlsec1 for openSUSE:Factory checked in at 2023-08-09 17:24:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xmlsec1 (Old) and /work/SRC/openSUSE:Factory/.xmlsec1.new.11712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmlsec1" Wed Aug 9 17:24:29 2023 rev:23 rq:1102976 version:1.2.37 Changes: -------- --- /work/SRC/openSUSE:Factory/xmlsec1/xmlsec1.changes 2023-02-23 16:33:05.634001640 +0100 +++ /work/SRC/openSUSE:Factory/.xmlsec1.new.11712/xmlsec1.changes 2023-08-09 17:24:33.405120085 +0200 @@ -1,0 +2,8 @@ +Tue Aug 8 15:41:15 UTC 2023 - Fridrich Strba <fst...@suse.com> + +- Added patch: + * xmlsec1-ui_null.patch + + fix build with older versions of openssl that don't have + UI_null() method + +------------------------------------------------------------------- New: ---- xmlsec1-ui_null.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xmlsec1.spec ++++++ --- /var/tmp/diff_new_pack.BnGKeM/_old 2023-08-09 17:24:34.173124866 +0200 +++ /var/tmp/diff_new_pack.BnGKeM/_new 2023-08-09 17:24:34.181124916 +0200 @@ -32,6 +32,7 @@ Source1: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.sig#/xmlsec1-%{version}.tar.gz.sig Source2: %{name}.keyring Source99: xmlsec1-rpmlintrc +Patch0: xmlsec1-ui_null.patch BuildRequires: libgcrypt-devel BuildRequires: libtool # Needed certutil for tests @@ -140,16 +141,18 @@ Libraries, includes, etc. for developing XML Security applications with NSS. %prep -%autosetup -p1 +%setup -q +%if 0%{?suse_version} < 1500 +%patch0 -p1 +%endif %build # Allow for deprecations -export CFLAGS="-Wno-error=deprecated-declarations" +export CFLAGS="-Wno-error=deprecated-declarations -std=c99" export CXXFLAGS="-Wno-error=deprecated-declarations" %configure \ --disable-static \ --disable-silent-rules \ - --enable-werror \ --disable-md5 %make_build ++++++ xmlsec1-ui_null.patch ++++++ --- xmlsec1-1.2.33/src/openssl/app.c 2022-01-28 07:47:11.922603482 +0100 +++ xmlsec1-1.2.33/src/openssl/app.c 2022-01-28 08:18:12.786240295 +0100 @@ -437,7 +437,7 @@ } } - if(ENGINE_ctrl_cmd(engine, "SET_USER_INTERFACE", 0, (void *)UI_null(), 0, 1) < 0) { + if(ENGINE_ctrl_cmd(engine, "SET_USER_INTERFACE", 0, (void *)0, 0, 1) < 0) { xmlSecOpenSSLError("ENGINE_ctrl_cmd_string(SET_USER_INTERFACE)", NULL); goto done; } @@ -453,7 +453,7 @@ /* load private key */ pKey = ENGINE_load_private_key(engine, engineKeyId, - (UI_METHOD *)UI_null(), + (UI_METHOD *)0, NULL); if(pKey == NULL) { xmlSecOpenSSLError("ENGINE_load_private_key", NULL);