network/remmina: Fix for the newer gcc.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2015-11-16 16:37:42 +01:00 committed by Willy Sudiarto Raharjo
parent c0aaa92999
commit 4c6868bcf4

View file

@ -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 \