From 5282781bd9395019fb91b2bcabb97d9ed38e87f8 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 3 Nov 2007 23:45:56 +0000 Subject: Fixed building the package with sunpro. --- security/gnutls/distinfo | 3 ++- security/gnutls/patches/patch-ag | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 security/gnutls/patches/patch-ag (limited to 'security') diff --git a/security/gnutls/distinfo b/security/gnutls/distinfo index c1bab56984a..cf6e838e6f8 100644 --- a/security/gnutls/distinfo +++ b/security/gnutls/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.39 2007/10/23 11:43:56 wiz Exp $ +$NetBSD: distinfo,v 1.40 2007/11/03 23:45:56 rillig Exp $ SHA1 (gnutls-2.0.2.tar.bz2) = 1e67565e1dbdfdbcf67a7467f7507f849e582730 RMD160 (gnutls-2.0.2.tar.bz2) = 1b449d8c025324988e04722f10c1980652c221fe @@ -8,3 +8,4 @@ SHA1 (patch-ab) = 1bdf8bb767dc0de591346a98f1a6b3453de116dc SHA1 (patch-ad) = 585a6b64cc52403d83804ef22726110c4aae6169 SHA1 (patch-ae) = f505476ce0477dc547e8698d205d6ba26fe85f48 SHA1 (patch-af) = bd4701640dfef5bfdce87d620befd93098b0dff3 +SHA1 (patch-ag) = 47892013971866ae69d7fb6fa2a7c992777ca71a diff --git a/security/gnutls/patches/patch-ag b/security/gnutls/patches/patch-ag new file mode 100644 index 00000000000..b39157f981d --- /dev/null +++ b/security/gnutls/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2007/11/03 23:45:56 rillig Exp $ + +void functions shall not return a value, says sunpro. + +--- lib/ext_authz.c.orig 2007-10-17 15:31:23.000000000 +0200 ++++ lib/ext_authz.c 2007-11-04 00:41:34.219974000 +0100 +@@ -77,5 +77,5 @@ gnutls_authz_enable (gnutls_session_t se + gnutls_authz_recv_callback_func recv_callback, + gnutls_authz_send_callback_func send_callback) + { +- return GNUTLS_E_UNIMPLEMENTED_FEATURE; ++ /* not implemented */ + } -- cgit v1.2.3