summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2022-08-25 08:32:22 +0200
committer Matteo Bernardini2022-11-19 09:25:34 +0100
commita51c208d4d28fef14de2f98bc54a170326827860 (patch)
tree6a08fce4f915871f9de4e5ac3cc607ca4e57e70c
parentb54a7d46399fd01b3bf2adc2d1b4a2b429d3c6c4 (diff)
downloadslackbuilds-x2goclient.tar.gz
network/x2goclient: Patch for glibc >= 2.36.x2goclient
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/x2goclient/glibc236.patch11
-rw-r--r--network/x2goclient/x2goclient.SlackBuild2
2 files changed, 13 insertions, 0 deletions
diff --git a/network/x2goclient/glibc236.patch b/network/x2goclient/glibc236.patch
new file mode 100644
index 0000000000..8e1c1fddcd
--- /dev/null
+++ b/network/x2goclient/glibc236.patch
@@ -0,0 +1,11 @@
+diff -Naur x2goclient-4.1.2.2.orig/src/onmainwindow_privat.h x2goclient-4.1.2.2/src/onmainwindow_privat.h
+--- x2goclient-4.1.2.2.orig/src/onmainwindow_privat.h 2020-02-13 11:36:07.000000000 +0100
++++ x2goclient-4.1.2.2/src/onmainwindow_privat.h 2022-08-23 20:49:00.556603000 +0200
+@@ -84,7 +84,6 @@
+ #include "contest.h"
+
+ #if !defined Q_OS_WIN
+-#include <sys/mount.h>
+ #ifdef Q_OS_LINUX
+ #include <X11/Xatom.h>
+ #include <X11/xpm.h>
diff --git a/network/x2goclient/x2goclient.SlackBuild b/network/x2goclient/x2goclient.SlackBuild
index 8fb5f09e1a..5f9cf7ac6f 100644
--- a/network/x2goclient/x2goclient.SlackBuild
+++ b/network/x2goclient/x2goclient.SlackBuild
@@ -87,6 +87,8 @@ find -L . \
sed -i -e '/^QMAKE_BINARY=/s@qmake-qt4@qmake@' Makefile
sed -i -e '/^LRELEASE_BINARY=/s@lrelease-qt4@lrelease@' Makefile
+patch -p1 < $CWD/glibc236.patch
+
make
make install PREFIX=/usr DESTDIR=$PKG