diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-07-25 12:41:54 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 08:55:30 -0500 |
commit | 2bf31423f24de918c73790788819532249c00f07 (patch) | |
tree | 70a501d1495c0b5a4af2b12f8db15d449cc4cd96 /libraries | |
parent | 27fa1b5a82e149ff912d30c3e79f19faf6af79e6 (diff) |
libraries/ggz-base-libs: Fixed building with gnutls3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/ggz-base-libs/ggz-base-libs.SlackBuild | 6 | ||||
-rw-r--r-- | libraries/ggz-base-libs/gnutls3.patch | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/libraries/ggz-base-libs/ggz-base-libs.SlackBuild b/libraries/ggz-base-libs/ggz-base-libs.SlackBuild index af96a6fb8b6bd..f237f4933dfa9 100644 --- a/libraries/ggz-base-libs/ggz-base-libs.SlackBuild +++ b/libraries/ggz-base-libs/ggz-base-libs.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=ggz-base-libs VERSION=0.99.5 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -67,6 +67,10 @@ cd $PRGNAM-snapshot-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Fix building with gnutls3, thanks to netbsd people +( cd libggz +patch -p1 < $CWD/gnutls3.patch ) + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/libraries/ggz-base-libs/gnutls3.patch b/libraries/ggz-base-libs/gnutls3.patch new file mode 100644 index 0000000000000..ed40bf12d5d10 --- /dev/null +++ b/libraries/ggz-base-libs/gnutls3.patch @@ -0,0 +1,11 @@ +--- src/security/ggz_tls_gnutls.c.orig 2008-01-05 19:03:41.000000000 +0000 ++++ src/security/ggz_tls_gnutls.c +@@ -56,7 +56,7 @@ const int cipher_priority[] = {GNUTLS_CI + const int mac_priority[] = {GNUTLS_MAC_NULL, GNUTLS_MAC_MD5, GNUTLS_MAC_SHA, 0}; + const int kx_priority[] = {GNUTLS_KX_ANON_DH, GNUTLS_KX_DHE_DSS, GNUTLS_KX_DHE_RSA, 0}; + const int protocol_priority[] = {GNUTLS_TLS1, GNUTLS_SSL3, 0}; +-const int compression_priority[] = {GNUTLS_COMP_NULL, GNUTLS_COMP_ZLIB, GNUTLS_COMP_LZO, 0}; ++const int compression_priority[] = {GNUTLS_COMP_NULL, GNUTLS_COMP_ZLIB, 0}; + + void ggz_tls_init(const char *certfile, const char *keyfile, const char *password) + { |