From 4c6868bcf4d9da246a31f7ad39bb0f8918095289 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 16 Nov 2015 16:37:42 +0100 Subject: [PATCH] network/remmina: Fix for the newer gcc. Signed-off-by: Matteo Bernardini --- network/remmina/remmina.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/network/remmina/remmina.SlackBuild b/network/remmina/remmina.SlackBuild index 80f30cabef..c5c0543fbe 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 \