[packages/percona-server] Up to 5.7.44-54; rocksdb arch set to generic x86_64 to avoid sse build
arekm
arekm at pld-linux.org
Tue May 19 19:47:39 CEST 2026
commit 6b6061b9116788e9542cd3da661e7b6d9374699f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue May 19 19:42:29 2026 +0200
Up to 5.7.44-54; rocksdb arch set to generic x86_64 to avoid sse build
branch.sh | 2 +-
build.patch | 28 ++++++++++++++++++++++++++++
percona-server.spec | 7 ++++---
3 files changed, 33 insertions(+), 4 deletions(-)
---
diff --git a/percona-server.spec b/percona-server.spec
index 01daaec..03c78ad 100644
--- a/percona-server.spec
+++ b/percona-server.spec
@@ -41,8 +41,8 @@
%undefine with_coredumper
%endif
-%define rel 3
-%define percona_git_rel 53
+%define rel 1
+%define percona_git_rel 54
%define percona_rel 48
Summary: Percona Server: a very fast and reliable SQL database engine
Summary(de.UTF-8): Percona Server: ist eine SQL-Datenbank
@@ -79,7 +79,7 @@ Source12: %{name}-ndb-cpc.sysconfig
Source13: %{name}-client.conf
Source14: my.cnf
Patch100: percona-server-git.patch
-# Patch100-md5: 6da5a37d9fd27414146fa8e5cef909d4
+# Patch100-md5: 4aecb3e8f78152ecb0acdf3bcfaf0444
Patch0: mysql-opt.patch
Patch1: mysql-versioning.patch
Patch2: mysql-protobuf.patch
@@ -527,6 +527,7 @@ CPPFLAGS="%{rpmcppflags}" \
-DCURSES_INCLUDE_PATH=/usr/include/ncurses \
%{?with_systemtap:-DENABLE_DTRACE=ON} \
-DALLOW_NO_SSE42=ON \
+ %{?with_rocksdb:-DROCKSDB_BUILD_ARCH=x86-64} \
-DFEATURE_SET="community" \
-DINSTALL_LAYOUT=RPM \
-DINSTALL_LIBDIR=%{_lib} \
diff --git a/branch.sh b/branch.sh
index a925049..cbc14ec 100755
--- a/branch.sh
+++ b/branch.sh
@@ -3,7 +3,7 @@ set -e
url=https://github.com/percona/percona-server.git
package=percona-server
tagbase=Percona-Server-5.7.44-48
-tagnew=Percona-Server-5.7.44-53
+tagnew=Percona-Server-5.7.44-54
branch=5.7
out=$package-git.patch
repo=$package.git
diff --git a/build.patch b/build.patch
index b2f92bc..d3276b7 100644
--- a/build.patch
+++ b/build.patch
@@ -118,3 +118,31 @@
MY_CHECK_CXX_COMPILER_FLAG("-Wunused-but-set-parameter" HAVE_UNUSED_BUT_SET)
IF(HAVE_UNUSED_BUT_SET)
ADD_COMPILE_FLAGS(${mysqlxtest_SRC} COMPILE_FLAGS
+--- a/include/my_global.h
++++ b/include/my_global.h
+@@ -213,7 +213,7 @@ typedef SOCKET my_socket;
+ #define INVALID_SOCKET -1
+ #endif
+ C_MODE_START
+-typedef void (*sig_return)();/* Returns type from signal */
++typedef void (*sig_return)(int);/* Returns type from signal */
+ C_MODE_END
+ #if defined(__GNUC__)
+ typedef char pchar; /* Mixed prototypes can take char */
+--- a/storage/rocksdb/CMakeLists.txt
++++ b/storage/rocksdb/CMakeLists.txt
+@@ -100,2 +100,5 @@
+ ADD_COMPILE_OPTIONS(-fno-builtin-memcmp)
++ # bundled rocksdb headers use uint*_t without including <cstdint>; libstdc++
++ # no longer pulls it in transitively (gcc 13+). force-include for c++ only.
++ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include cstdint")
+ ENDIF()
+--- a/client/mysql.cc
++++ b/client/mysql.cc
+@@ -57,3 +57,1 @@
+-#if defined(USE_LIBEDIT_INTERFACE)
+ #include <locale.h>
+-#endif
+
+
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/6b6061b9116788e9542cd3da661e7b6d9374699f
More information about the pld-cvs-commit
mailing list