summaryrefslogtreecommitdiffstats
path: root/libraries/gwenhywfar/gwenhywfar.SlackBuild
diff options
context:
space:
mode:
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 \