diff options
author | Larry Hajali <larryhaja@gmail.com> | 2016-02-07 13:25:49 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-08 23:44:05 +0700 |
commit | c1fa7ec228392481904847a3a36ec30fd3fe431b (patch) | |
tree | 4e2c169239fe763a6f71f454aabe5db363ca97c0 /libraries/gwenhywfar/gwenhywfar.SlackBuild | |
parent | 2355494a80c4503f4f51ab8fb77373cd17823f6e (diff) |
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.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/gwenhywfar/gwenhywfar.SlackBuild b/libraries/gwenhywfar/gwenhywfar.SlackBuild index 5cb1e3f555cb3..1c25efe4fd518 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 \ |