diff --git a/mariadb-fix-testsuite-openssl3.2.3.patch b/mariadb-fix-testsuite-openssl3.2.3.patch new file mode 100644 index 0000000..d36c61b --- /dev/null +++ b/mariadb-fix-testsuite-openssl3.2.3.patch @@ -0,0 +1,13 @@ +Index: mariadb-11.6.1/mysql-test/main/init_connect.test +=================================================================== +--- mariadb-11.6.1.orig/mysql-test/main/init_connect.test ++++ mariadb-11.6.1/mysql-test/main/init_connect.test +@@ -46,7 +46,7 @@ select @a; + # We got disconnected after receiving the above error message; any further + # requests should fail with a notice that no one's listening to us. + # --error CR_SERVER_GONE_ERROR,CR_SERVER_LOST +---error 2013,2006 ++--error 2013,2006,2026 + select @a; + connection con0; + drop table t1; diff --git a/mariadb.changes b/mariadb.changes index b1ea692..1713935 100644 --- a/mariadb.changes +++ b/mariadb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 26 16:59:42 UTC 2024 - Angel Yankov + +- Fix test for SSL connection init with openssl 3.2.3. + * Added mariadb-fix-testsuite-openssl3.2.3.patch + ------------------------------------------------------------------- Thu Nov 14 21:10:35 UTC 2024 - Antonio Teixeira diff --git a/mariadb.spec b/mariadb.spec index c8d41b9..dc969fb 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -80,6 +80,7 @@ Patch6: mariadb-10.4.12-harden_setuid.patch Patch7: mariadb-10.4.12-fix-install-db.patch Patch10: fix-pamdir.patch Patch11: gcc13-fix.patch +Patch12: mariadb-fix-testsuite-openssl3.2.3.patch # needed for bison SQL parser and wsrep API BuildRequires: bison BuildRequires: cmake @@ -361,6 +362,7 @@ find . -name "*.jar" -type f -exec rm --verbose -f {} \; %patch -P 10 -p1 %endif %patch -P 11 -p1 +%patch -P 12 -p1 cp %{_sourcedir}/suse-test-run .