Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2024 20:56:37 GMT
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 6f65b525e807 - 2024Q4 - deskutils/calibre: Fix build on 13.3
Message-ID:  <202411122056.4ACKubqT021906@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6f65b525e807b82e29c78fa112c568661a780254

commit 6f65b525e807b82e29c78fa112c568661a780254
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2024-11-12 20:49:57 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-11-12 20:56:23 +0000

    deskutils/calibre: Fix build on 13.3
    
    Recent changes depend on an OpenSSL 3.x define. Just define it for older releases.
    
    Reported by:    pkg-fallout
    MFH:            2024Q4
    
    (cherry picked from commit d450feb023678e6579cee6eaf37730a12adb08ae)
---
 deskutils/calibre/files/patch-src_calibre_utils_certgen.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/deskutils/calibre/files/patch-src_calibre_utils_certgen.c b/deskutils/calibre/files/patch-src_calibre_utils_certgen.c
new file mode 100644
index 000000000000..1c47b5f7cf56
--- /dev/null
+++ b/deskutils/calibre/files/patch-src_calibre_utils_certgen.c
@@ -0,0 +1,13 @@
+--- src/calibre/utils/certgen.c.orig	2024-11-08 03:00:49 UTC
++++ src/calibre/utils/certgen.c
+@@ -22,6 +22,10 @@
+ #include <openssl/err.h>
+ #include <openssl/conf.h>
+ 
++#if __FreeBSD_version < 1400092
++#define X509_REQ_VERSION_1 1
++#endif
++
+ static PyObject*
+ set_error_with_detail(const char *where, const char* detail) {
+     char *suffix = NULL, buf[1024];



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