summaryrefslogtreecommitdiffstats
path: root/libraries/gwenhywfar/gwenhywfar.SlackBuild
diff options
context:
space:
mode:
author Larry Hajali2016-02-07 22:25:49 +0100
committer Willy Sudiarto Raharjo2016-02-08 17:44:05 +0100
commitc1fa7ec228392481904847a3a36ec30fd3fe431b (patch)
tree4e2c169239fe763a6f71f454aabe5db363ca97c0 /libraries/gwenhywfar/gwenhywfar.SlackBuild
parent2355494a80c4503f4f51ab8fb77373cd17823f6e (diff)
downloadslackbuilds-c1fa7ec228392481904847a3a36ec30fd3fe431b.tar.gz
libraries/gwenhywfar: Fix build
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gwenhywfar/gwenhywfar.SlackBuild')
-rw-r--r--libraries/gwenhywfar/gwenhywfar.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/gwenhywfar/gwenhywfar.SlackBuild b/libraries/gwenhywfar/gwenhywfar.SlackBuild
index 5cb1e3f555..1c25efe4fd 100644
--- a/libraries/gwenhywfar/gwenhywfar.SlackBuild
+++ b/libraries/gwenhywfar/gwenhywfar.SlackBuild
@@ -48,7 +48,7 @@ elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -69,6 +69,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Don't use deprecated/removed gnutls functions
+# Patch from Fedora:
+# http://pkgs.fedoraproject.org/cgit/rpms/gwenhywfar.git/tree/gwen-gnutls.patch
+patch -p1 < $CWD/gwen-gnutls.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \