aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/remmina/remmina.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/network/remmina/remmina.SlackBuild b/network/remmina/remmina.SlackBuild
index 80f30cabef6e1..c5c0543fbe9b4 100644
--- a/network/remmina/remmina.SlackBuild
+++ b/network/remmina/remmina.SlackBuild
@@ -88,6 +88,10 @@ sed "s|/lib/remmina|/lib$LIBDIRSUFFIX/remmina|g" -i CMakeLists.txt
LIBSSH_INSTDIR=$TMP/$SRCNAM-${TARVERSION#v}/libssh
tar xvf $CWD/libssh-0.6.4.tar.gz
cd libssh-0.6.4
+
+# Fix for the newer gcc, see https://gcc.gnu.org/gcc-5/porting_to.html
+sed -i "s|__FUNCTION__|__func__|" include/libssh/{,pki_}priv.h src/auth.c
+
mkdir build
cd build
cmake \