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
This commit is contained in:
parent
38d7f525d0
commit
4211cef123
3 changed files with 42 additions and 0 deletions
13
security/gnutls/patches/patch-ag
Normal file
13
security/gnutls/patches/patch-ag
Normal file
|
@ -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
|
13
security/gnutls/patches/patch-ah
Normal file
13
security/gnutls/patches/patch-ah
Normal file
|
@ -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
|
16
security/gnutls/patches/patch-ai
Normal file
16
security/gnutls/patches/patch-ai
Normal file
|
@ -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
|
Loading…
Reference in a new issue