public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dmitry Butskoy <dmitry@butskoy.name>
To: git-commits@fedoraproject.org
Subject: [rpms/mail-notification] rawhide: add patch for openssl4 (#2504317)
Date: Wed, 22 Jul 2026 16:56:32 GMT	[thread overview]
Message-ID: <178473939243.1.612854638060774750.rpms-mail-notification-b03a0617b954@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mail-notification
Branch : rawhide
Commit : b03a0617b95480a7f1cd0ef7057a52fb933dab6e
Author : Dmitry Butskoy <dmitry@butskoy.name>
Date   : 2026-07-22T19:55:59+03:00
Stats  : +24/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/mail-notification/c/b03a0617b95480a7f1cd0ef7057a52fb933dab6e?branch=rawhide

Log:
add patch for openssl4 (#2504317)

---
diff --git a/mail-notification-openssl4.patch b/mail-notification-openssl4.patch
new file mode 100644
index 0000000..7c222f1
--- /dev/null
+++ b/mail-notification-openssl4.patch
@@ -0,0 +1,20 @@
+--- src/mn-client-session.c.orig	2013-12-31 19:31:59.000000000 +0400
++++ src/mn-client-session.c	2026-07-22 19:47:00.627614210 +0300
+@@ -534,13 +534,14 @@
+       for (i = 0; i < count; i++)
+ 	{
+ 	  GENERAL_NAME *name;
++	  const char *data;
+ 
+ 	  name = sk_GENERAL_NAME_value(ext, i);
+ 	  if (name
+ 	      && name->type == GEN_DNS
+-	      && name->d.ia5->data
+-	      && g_utf8_validate(name->d.ia5->data, -1, NULL))
+-	    servers = g_slist_append(servers, g_strdup(name->d.ia5->data));
++	      && (data = ASN1_STRINGS_get0_data(name->d.ia5))
++	      && g_utf8_validate(data, -1, NULL))
++	    servers = g_slist_append(servers, g_strdup(data));
+ 	}
+     }
+ 

diff --git a/mail-notification.spec b/mail-notification.spec
index 84fc862..ecf3e76 100644
--- a/mail-notification.spec
+++ b/mail-notification.spec
@@ -43,6 +43,7 @@ Patch7:		mail-notification-incompatible-pointer-types.patch
 Patch8:		mail-notification-maybe-uninitialized.patch
 Patch9:		mail-notification-libxml2.patch
 Patch10:	mail-notification-gint64.patch
+Patch11:	mail-notification-openssl4.patch
 
 BuildRequires:  make
 BuildRequires:  gcc
@@ -114,6 +115,7 @@ Evolution support for Mail Notification.
 %patch -P8 -p1 -b .maybe-uninitialized
 %patch -P9 -p1 -b .libxml2
 %patch -P10 -p0 -b .gint64
+%patch -P11 -p0 -b .openssl4
 
 # update config.{guess,sub} manually
 cp -p /usr/lib/rpm/redhat/config.{guess,sub} jbsrc/tools/
@@ -232,8 +234,8 @@ desktop-file-install \
 
 
 %changelog
-* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.4-118.git.9ae8768
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+* Wed Jul 22 2026 Dmitry Butskoy <Dmitry@Butskoy.name> - 5.4-118.git.9ae8768
+- add patch for openssl4 (#2504317)
 
 * Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 5.4-117.git.9ae8768
 - Rebuilt for openssl 4.0

                 reply	other threads:[~2026-07-22 16:56 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=178473939243.1.612854638060774750.rpms-mail-notification-b03a0617b954@fedoraproject.org \
    --to=dmitry@butskoy.name \
    --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