public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mmapper] rawhide: Fix build with openssl 4.0
@ 2026-10-19 19:16 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-19 19:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/mmapper
Branch : rawhide
Commit : c0cd8a93c7e92ae7bf0d350bffe909e0125e157b
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-10-19T15:16:48-04:00
Stats  : +14/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/mmapper/c/c0cd8a93c7e92ae7bf0d350bffe909e0125e157b?branch=rawhide

Log:
Fix build with openssl 4.0

---
diff --git a/mmapper-openssl4.patch b/mmapper-openssl4.patch
new file mode 100644
index 0000000..d778a8c
--- /dev/null
+++ b/mmapper-openssl4.patch
@@ -0,0 +1,13 @@
+diff --git a/src/pandoragroup/groupauthority.cpp b/src/pandoragroup/groupauthority.cpp
+index 4de7ad7..d9f1108 100644
+--- a/src/pandoragroup/groupauthority.cpp
++++ b/src/pandoragroup/groupauthority.cpp
+@@ -80,7 +80,7 @@ NODISCARD static X509_ptr generateX509(const EVP_PKEY_ptr &pkey)
+     X509_set_pubkey(x509.get(), pkey.get());
+ 
+     /* We want to copy the subject name to the issuer name. */
+-    X509_NAME *name = X509_get_subject_name(x509.get());
++    X509_NAME *name = (X509_NAME *) X509_get_subject_name(x509.get());
+ 
+     /* Set the X509 names. */
+     X509_NAME_add_entry_by_txt(name,

diff --git a/mmapper.spec b/mmapper.spec
index 16ba913..6ab883e 100644
--- a/mmapper.spec
+++ b/mmapper.spec
@@ -9,6 +9,7 @@ Source0:        https://github.com/MUME/MMapper/archive/v%{version}/MMapper-%{ve
 Source1:        https://github.com/g-truc/glm/releases/download/0.9.9.7/glm-0.9.9.7.zip
 Patch0:         %{name}-miniupnp228.patch
 Patch1:         0001-Add-missing-include-for-uint64_t.patch
+Patch2:         %{name}-openssl4.patch
 
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-19 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 19:16 [rpms/mmapper] rawhide: Fix build with openssl 4.0 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox