public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/imapfilter] epel10.2: remove upstreamed patch, fix FTBFS
Date: Sun, 01 Nov 2026 16:53:34 GMT	[thread overview]
Message-ID: <179355201492.1.16684487451903399561.rpms-imapfilter-d7468377c0a0@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-01 16:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179355201492.1.16684487451903399561.rpms-imapfilter-d7468377c0a0@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox