public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/imapfilter] epel10.2: remove upstreamed patch, fix FTBFS
@ 2026-11-01 16:53 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-01 16:53 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/imapfilter
Branch : epel10.2
Commit : d7468377c0a03ca8139ede7d5a748ef58aefba99
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-11-01T13:39:54-03:00
Stats : +0/-31 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/imapfilter/c/d7468377c0a03ca8139ede7d5a748ef58aefba99?branch=epel10.2
Log:
remove upstreamed patch, fix FTBFS
---
diff --git a/imapfilter-openssl4.patch b/imapfilter-openssl4.patch
deleted file mode 100644
index 3d81fd5..0000000
--- a/imapfilter-openssl4.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- cert.c.orig 2026-08-17 21:20:52.503727520 -0300
-+++ imapfilter-2.8.5/src/cert.c 2026-08-17 21:00:09.419834701 -0300
-@@ -186,21 +186,21 @@
- serial = X509_get_serialNumber(cert);
- buf = xmalloc(LINE_MAX);
- *buf = '\0';
-- if (serial->length <= (int)sizeof(long)) {
-+ if (ASN1_STRING_length(serial) <= (int)sizeof(long)) {
- num = ASN1_INTEGER_get(serial);
-- if (serial->type == V_ASN1_NEG_INTEGER) {
-+ if (ASN1_STRING_type(serial) == V_ASN1_NEG_INTEGER) {
- snprintf(buf, LINE_MAX, "-%lX", -num);
- } else {
- snprintf(buf, LINE_MAX, "%lX", num);
- }
- } else {
-- if (serial->type == V_ASN1_NEG_INTEGER) {
-+ if (ASN1_STRING_type(serial) == V_ASN1_NEG_INTEGER) {
- snprintf(buf, LINE_MAX, "-");
- }
-- for (i = 0; i < serial->length; i++) {
-+ for (i = 0; i < ASN1_STRING_length(serial); i++) {
- len = strlen(buf);
- snprintf(buf + len, LINE_MAX - len, "%02X",
-- serial->data[i]);
-+ ASN1_STRING_get0_data(serial)[i]);
- }
- }
- return buf;
diff --git a/imapfilter.spec b/imapfilter.spec
index 3a0a48e..8291cd8 100644
--- a/imapfilter.spec
+++ b/imapfilter.spec
@@ -12,8 +12,6 @@ URL: %forgeurl
Source: %forgesource
# Fix paths for MANDIR, SSLCAFILE and keep existing CFLAGS
Patch0: imapfilter-makefile-fix.patch
-# Fix build with OpenSSL4+ (opaque ASN1_INTEGER structures)
-Patch1: imapfilter-openssl4.patch
BuildRequires: gcc, make
BuildRequires: openssl-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-01 16:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01 16:53 [rpms/imapfilter] epel10.2: remove upstreamed patch, fix FTBFS Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox