aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-11-16 16:37:42 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit4c6868bcf4d9da246a31f7ad39bb0f8918095289 (patch)
tree2fa48672444ddd962a23ad8e0fd0b7c652462376 /network
parentc0aaa929992d736e266ae82107212b1f976922f3 (diff)
network/remmina: Fix for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network')
-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 \