Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2021 12:35:08 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r560706 - head/archivers/libzip/files
Message-ID:  <202101071235.107CZ8H7024414@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Thu Jan  7 12:35:07 2021
New Revision: 560706
URL: https://svnweb.freebsd.org/changeset/ports/560706

Log:
  archivers/libzip: unbreak build with non-base *ssl
  
  PR:		252483
  Submitted by:	rakuco
  Reported by:	rozhuk.im@gmail.com
  Approved by:	rakuco

Added:
  head/archivers/libzip/files/patch-git_fd89e242   (contents, props changed)

Added: head/archivers/libzip/files/patch-git_fd89e242
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/libzip/files/patch-git_fd89e242	Thu Jan  7 12:35:07 2021	(r560706)
@@ -0,0 +1,18 @@
+commit fd89e242d16128dedef08f47d99ae56aa19b0591
+Author: Ørjan Malde <red@foxi.me>
+Date:   Wed Jul 15 12:16:16 2020 +0200
+
+    Include limits.h for INT_MAX
+
+diff --git a/lib/zip_crypto_openssl.c b/lib/zip_crypto_openssl.c
+index 1cb00479..60f92758 100644
+--- lib/zip_crypto_openssl.c
++++ lib/zip_crypto_openssl.c
+@@ -38,6 +38,7 @@
+ #include "zip_crypto.h"
+ 
+ #include <openssl/rand.h>
++#include <limits.h>
+ 
+ #if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER)
+ #define USE_OPENSSL_1_0_API



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101071235.107CZ8H7024414>