Skip to content

Commit

Permalink
upgpatch: percona-server
Browse files Browse the repository at this point in the history
Fix rotten and make it less prone to rot.
  • Loading branch information
kxxt authored and felixonmars committed Oct 3, 2023
1 parent 902808e commit e64baf3
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions percona-server/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
diff --git PKGBUILD PKGBUILD
index 02bb539..5ea90b9 100644
--- PKGBUILD
+++ PKGBUILD
@@ -18,14 +18,16 @@ source=("https://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona
'mysql-user.conf'
'mysqlrouter-user.conf'
'mysql-build-fix.patch'
- 'protobuf-23.patch')
+ 'protobuf-23.patch'
+ 'add-riscv-support.patch::https://patch-diff.githubusercontent.com/raw/percona/percona-server/pull/5030.patch')
sha256sums=('9871cac20c226bba7607f35c19ee23516a38c67573dd48618727c74eae22912e'
'5347464af5b14ac54bb945dc68f1dd7c56f0dad7262816b956138fc53bcc0131'
'b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731'
'5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6'
@@ -25,6 +25,9 @@ sha256sums=('c4e6977e787f960fd3bad6a7c06b7e126c46e1403ca133dd8a5da7bd4dcd6574'
'4ca7ffdcb2d1716d4f31e4c7dd314e5d76e64f13fdc67c5d81c53650b793f5e0'
'ea17c754d5595bf053d733373b7c4ae6d608a9f85a990dbe5779b499dd398bef'
- '2d73c79f355eaf3c0bced0f0da6ad099323f4f489d5cddb609cf01af5a617305')
+ '2d73c79f355eaf3c0bced0f0da6ad099323f4f489d5cddb609cf01af5a617305'
+ '465d90e49cf781b200e8d7155d7273dfde2781438f268f1dea8978259b3d4053')
'2d73c79f355eaf3c0bced0f0da6ad099323f4f489d5cddb609cf01af5a617305')

+source+=('add-riscv-support.patch::https://patch-diff.githubusercontent.com/raw/percona/percona-server/pull/5030.patch')
+sha256sums+=('465d90e49cf781b200e8d7155d7273dfde2781438f268f1dea8978259b3d4053')
+
prepare() {
cd $pkgbase-$_pkgver
@@ -46,6 +48,8 @@ prepare() {
rm -v sql/sql_yacc.{cc,h}
@@ -42,6 +45,8 @@ prepare() {

sed '/^PrivateTmp=/ a StateDirectory=mysqlrouter\nRuntimeDirectory=mysqlrouter' \
-i scripts/systemd/mysqlrouter.service.in
Expand All @@ -30,7 +19,7 @@ index 02bb539..5ea90b9 100644
}

build() {
@@ -54,8 +58,8 @@ build() {
@@ -50,8 +55,8 @@ build() {
cd build

cmake "../$pkgbase-$_pkgver" \
Expand Down

0 comments on commit e64baf3

Please sign in to comment.