mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 15:21:51 -04:00
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
This commit is contained in:
parent
42321316b2
commit
d450feb023
1 changed files with 13 additions and 0 deletions
13
deskutils/calibre/files/patch-src_calibre_utils_certgen.c
Normal file
13
deskutils/calibre/files/patch-src_calibre_utils_certgen.c
Normal file
|
@ -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];
|
Loading…
Add table
Reference in a new issue