Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / mysql-workbench
Commits: 31877bf1 by Christian Hesse at 2024-05-10T10:17:44+02:00 add missing include - - - - - 3 changed files: - .SRCINFO - + 0006-library-ssh-include.patch - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -47,6 +47,7 @@ pkgbase = mysql-workbench source = 0003-include-list.patch source = 0004-libxml2.patch source = 0005-python-3-12.patch + source = 0006-library-ssh-include.patch source = arch_linux_profile.xml validpgpkeys = BCA43417C3B485DD128EC6D4B7B3B788A8D3785C sha256sums = 634d8a66b6c2777491058a60aba8187e947e4c49a0e7ae83df312fa70714637c @@ -62,6 +63,7 @@ pkgbase = mysql-workbench sha256sums = e7e66ba68a21a0da87f0513f2b9550359c923a94aa7d16afe6ead063322e3d53 sha256sums = a9f1d3262350b22850f9720647c806be8959f2ed387d0095e6134b7f3251363c sha256sums = e596ef8ed8479c5052c78fe17139309182d22bfd5765f32866367fd3e787277d + sha256sums = 208ecb77f2ea62340fc77456aab9cfbb89ff78d47d6aa5fde2003a894e4d872d sha256sums = d816164098c90c432b4fe590708c14f95ab137abfe16ad1b7d498b2e83c0e265 pkgname = mysql-workbench ===================================== 0006-library-ssh-include.patch ===================================== @@ -0,0 +1,12 @@ +diff --git a/library/ssh/SSHSftp.cpp b/library/ssh/SSHSftp.cpp +index 1e82876c4..2969fcde6 100644 +--- a/library/ssh/SSHSftp.cpp ++++ b/library/ssh/SSHSftp.cpp +@@ -28,6 +28,7 @@ + #ifndef _MSC_VER + #include <unistd.h> + #endif ++#include <algorithm> + #include <vector> + #include "SSHSftp.h" + ===================================== PKGBUILD ===================================== @@ -34,6 +34,7 @@ source=("https://cdn.mysql.com/Downloads/MySQLGUITools/mysql-workbench-community '0003-include-list.patch' '0004-libxml2.patch' '0005-python-3-12.patch' + '0006-library-ssh-include.patch' 'arch_linux_profile.xml') sha256sums=('634d8a66b6c2777491058a60aba8187e947e4c49a0e7ae83df312fa70714637c' 'SKIP' @@ -48,6 +49,7 @@ sha256sums=('634d8a66b6c2777491058a60aba8187e947e4c49a0e7ae83df312fa70714637c' 'e7e66ba68a21a0da87f0513f2b9550359c923a94aa7d16afe6ead063322e3d53' 'a9f1d3262350b22850f9720647c806be8959f2ed387d0095e6134b7f3251363c' 'e596ef8ed8479c5052c78fe17139309182d22bfd5765f32866367fd3e787277d' + '208ecb77f2ea62340fc77456aab9cfbb89ff78d47d6aa5fde2003a894e4d872d' 'd816164098c90c432b4fe590708c14f95ab137abfe16ad1b7d498b2e83c0e265') prepare() { @@ -69,6 +71,9 @@ prepare() { # fix build with python 3.12 patch -Np1 < "${srcdir}"/0005-python-3-12.patch + # add missing include + patch -Np1 < "${srcdir}"/0006-library-ssh-include.patch + # remove left over requirement on PCRE sed -i '/PCRE REQUIRED/d' CMakeLists.txt View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/mysql-workbench/-/commit/31877bf1afdf6ac4aca2f709b3dc76ebc9b38e7b -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/mysql-workbench/-/commit/31877bf1afdf6ac4aca2f709b3dc76ebc9b38e7b You're receiving this email because of your account on gitlab.archlinux.org.