pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/gnutls/patches Three patches to permit compil...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b561b0328161
branches: trunk
changeset: 549203:b561b0328161
user: shannonjr <shannonjr%pkgsrc.org@localhost>
date: Wed Oct 29 11:38:09 2008 +0000
description:
Three patches to permit compilation under Solaris with SunPro compiler:
patch-ag and patch-ah fix void functions that attempt to return the result
of calling a void function.
patch-ai conditionally includes <sys/inttypes.h> to pick up uint32_t
diffstat:
security/gnutls/patches/patch-ag | 13 +++++++++++++
security/gnutls/patches/patch-ah | 13 +++++++++++++
security/gnutls/patches/patch-ai | 16 ++++++++++++++++
3 files changed, 42 insertions(+), 0 deletions(-)
diffs (54 lines):
diff -r aac05c619356 -r b561b0328161 security/gnutls/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/patches/patch-ag Wed Oct 29 11:38:09 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.3 2008/10/29 11:38:09 shannonjr Exp $
+
+--- lib/mpi-libgcrypt.c.orig 2008-10-05 07:41:43.000000000 -0600
++++ lib/mpi-libgcrypt.c
+@@ -120,7 +120,7 @@ wrap_gcry_mpi_get_nbits (bigint_t a)
+ static void
+ wrap_gcry_mpi_release (bigint_t a)
+ {
+- return gcry_mpi_release (a);
++ gcry_mpi_release (a);
+ }
+
+ #undef _gnutls_mpi_alloc_like
diff -r aac05c619356 -r b561b0328161 security/gnutls/patches/patch-ah
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/patches/patch-ah Wed Oct 29 11:38:09 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2008/10/29 11:38:09 shannonjr Exp $
+
+--- lib/mac-libgcrypt.c.orig 2008-10-05 07:41:43.000000000 -0600
++++ lib/mac-libgcrypt.c
+@@ -93,7 +93,7 @@ wrap_gcry_md_copy (void **bhd, void *ahd
+ static void
+ wrap_gcry_md_close (void *hd)
+ {
+- return gcry_md_close (hd);
++ gcry_md_close (hd);
+ }
+
+ static int
diff -r aac05c619356 -r b561b0328161 security/gnutls/patches/patch-ai
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/patches/patch-ai Wed Oct 29 11:38:09 2008 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ai,v 1.1 2008/10/29 11:38:09 shannonjr Exp $
+
+--- libextra/gl/md5.h.orig 2008-10-05 07:41:43.000000000 -0600
++++ libextra/gl/md5.h
+@@ -22,7 +22,11 @@
+ #define _MD5_H 1
+
+ #include <stdio.h>
++#if defined(__sun)
++#include <sys/inttypes.h>
++#else
+ #include <stdint.h>
++#endif
+
+ #define MD5_DIGEST_SIZE 16
+ #define MD5_BLOCK_SIZE 64
Home |
Main Index |
Thread Index |
Old Index