diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2015-11-16 16:37:42 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 4c6868bcf4d9da246a31f7ad39bb0f8918095289 (patch) | |
tree | 2fa48672444ddd962a23ad8e0fd0b7c652462376 /network/remmina | |
parent | c0aaa929992d736e266ae82107212b1f976922f3 (diff) | |
download | slackbuilds-4c6868bcf4d9da246a31f7ad39bb0f8918095289.tar.gz |
network/remmina: Fix for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/remmina')
-rw-r--r-- | network/remmina/remmina.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
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 \ |