pkgsrc/security/gnutls/patches/patch-src_libopts_autoopts_options.h
nia a743d901b9 gnutls: Update to 3.6.11.1
Not sure of 3.6.11.1's specific changes - possibly fixing an incorrectly
generated tarball?

These changes from apply:

* Version 3.6.11 (released 2019-12-01)

** libgnutls: Use KERN_ARND for the system random number generator on NetBSD.
   This syscall provides an endless stream of random numbers from the kernel's
   ChaCha20-based random number generator, without blocking or requiring an open file
   descriptor.

** libgnutls: Corrected issue with TLS 1.2 session ticket handling as client
   during resumption (#841).

** libgnutls: gnutls_base64_decode2() succeeds decoding the empty string to
   the empty string. This is a behavioral change of the API but it conforms
   to the RFC4648 expectations (#834).

** libgnutls: Fixed AES-CFB8 implementation, when input is shorter than
   the block size. Fix backported from nettle.

** certtool: CRL distribution points will be set in CA certificates even when
   non self-signed (#765).

** gnutls-cli/serv: added raw public-key handling capabilities (RFC7250).
   Key material can be set via the --rawpkkeyfile and --rawpkfile flags.

** API and ABI modifications:
No changes since last version.
2019-12-06 14:00:08 +00:00

15 lines
485 B
C

$NetBSD: patch-src_libopts_autoopts_options.h,v 1.3 2019/12/06 14:00:08 nia Exp $
Workaround for older OSX.
--- src/libopts/autoopts/options.h.orig 2019-12-01 21:25:38.000000000 +0000
+++ src/libopts/autoopts/options.h
@@ -62,7 +62,7 @@
# include <sysexits.h>
# endif /* HAVE_SYSEXITS_H */
-# if defined(HAVE_STDBOOL_H)
+# if defined(HAVE_STDBOOL_H) || defined(__APPLE__)
# include <stdbool.h>
# elif ! defined(bool)
typedef enum { false = 0, true = 1 } _Bool;