public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/globus-openssl-module] rawhide: Fix compiler warnings
@ 2026-06-14 8:54 Mattias Ellert
0 siblings, 0 replies; only message in thread
From: Mattias Ellert @ 2026-06-14 8:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/globus-openssl-module
Branch : rawhide
Commit : 3df79628bf5855015df2fc319bad81006d2192d9
Author : Mattias Ellert <mattias.ellert@physics.uu.se>
Date : 2026-06-14T10:39:13+02:00
Stats : +76/-1 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/globus-openssl-module/c/3df79628bf5855015df2fc319bad81006d2192d9?branch=rawhide
Log:
Fix compiler warnings
---
diff --git a/0001-Untabify-and-remove-trailing-white-space.patch b/0001-Untabify-and-remove-trailing-white-space.patch
new file mode 100644
index 0000000..e942a17
--- /dev/null
+++ b/0001-Untabify-and-remove-trailing-white-space.patch
@@ -0,0 +1,34 @@
+From 3ccdaa0236230bbcbcbf339e7dfdfaf23c10bd6f Mon Sep 17 00:00:00 2001
+From: Mattias Ellert <mattias.ellert@physics.uu.se>
+Date: Wed, 20 May 2026 00:15:37 +0200
+Subject: [PATCH 1/2] Untabify and remove trailing white-space
+
+---
+ gsi/openssl_module/source/library/globus_openssl.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gsi/openssl_module/source/library/globus_openssl.c b/gsi/openssl_module/source/library/globus_openssl.c
+index 4393432c4..c514ca1ed 100644
+--- a/gsi/openssl_module/source/library/globus_openssl.c
++++ b/gsi/openssl_module/source/library/globus_openssl.c
+@@ -38,7 +38,7 @@ globus_l_openssl_deactivate(void);
+ #if OPENSSL_VERSION_NUMBER < 0x10100000L
+ static unsigned long
+ globus_l_openssl_thread_id(void);
+-
++
+ static void
+ globus_l_openssl_locking_cb(
+ int mode,
+@@ -73,7 +73,7 @@ globus_l_openssl_activate(void)
+ int pci_old_NID;
+ X509V3_EXT_METHOD * pci_x509v3_ext_meth = NULL;
+ X509V3_EXT_METHOD * pci_old_x509v3_ext_meth = NULL;
+-
++
+ SSL_library_init();
+ globus_module_activate(GLOBUS_COMMON_MODULE);
+ globus_module_activate(GLOBUS_GSI_OPENSSL_ERROR_MODULE);
+--
+2.54.0
+
diff --git a/0002-Fix-compiler-and-doxygen-warnings.patch b/0002-Fix-compiler-and-doxygen-warnings.patch
new file mode 100644
index 0000000..2bdfbbd
--- /dev/null
+++ b/0002-Fix-compiler-and-doxygen-warnings.patch
@@ -0,0 +1,34 @@
+From 4ee08d13e2963309e2063dc45dedd067337d3b76 Mon Sep 17 00:00:00 2001
+From: Mattias Ellert <mattias.ellert@physics.uu.se>
+Date: Wed, 20 May 2026 00:15:37 +0200
+Subject: [PATCH 2/2] Fix compiler and doxygen warnings
+
+---
+ gsi/openssl_module/source/library/globus_openssl.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/gsi/openssl_module/source/library/globus_openssl.c b/gsi/openssl_module/source/library/globus_openssl.c
+index c514ca1ed..510549ab2 100644
+--- a/gsi/openssl_module/source/library/globus_openssl.c
++++ b/gsi/openssl_module/source/library/globus_openssl.c
+@@ -71,7 +71,6 @@ globus_l_openssl_activate(void)
+ {
+ int pci_NID;
+ int pci_old_NID;
+- X509V3_EXT_METHOD * pci_x509v3_ext_meth = NULL;
+ X509V3_EXT_METHOD * pci_old_x509v3_ext_meth = NULL;
+
+ SSL_library_init();
+@@ -161,7 +160,9 @@ static
+ int
+ globus_l_openssl_deactivate(void)
+ {
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ int i;
++#endif
+
+ OBJ_cleanup();
+
+--
+2.54.0
+
diff --git a/globus-openssl-module.spec b/globus-openssl-module.spec
index 41466f3..f41174e 100644
--- a/globus-openssl-module.spec
+++ b/globus-openssl-module.spec
@@ -1,13 +1,15 @@
Name: globus-openssl-module
%global _name %(tr - _ <<< %{name})
Version: 5.2
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: Grid Community Toolkit - Globus OpenSSL Module Wrapper
License: Apache-2.0
URL: https://github.com/gridcf/gct/
Source: https://repo.gridcf.org/gct6/sources/%{_name}-%{version}.tar.gz
Source8: README
+Patch0: 0001-Untabify-and-remove-trailing-white-space.patch
+Patch1: 0002-Fix-compiler-and-doxygen-warnings.patch
BuildRequires: make
BuildRequires: gcc
@@ -57,6 +59,8 @@ Globus OpenSSL Module Wrapper Documentation Files
%prep
%setup -q -n %{_name}-%{version}
+%patch -P0 -p4
+%patch -P1 -p4
%build
# Reduce overlinking
@@ -105,6 +109,9 @@ rm %{buildroot}%{_pkgdocdir}/GLOBUS_LICENSE
%license GLOBUS_LICENSE
%changelog
+* Sun Jun 14 2026 Mattias Ellert <mattias.ellert@physics.uu.se> - 5.2-15
+- Fix compiler warnings
+
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-14 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-14 8:54 [rpms/globus-openssl-module] rawhide: Fix compiler warnings Mattias Ellert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox