public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/globus-gram-client] rawhide: Fix compiler warnings
@ 2026-06-14  8:47 Mattias Ellert
  0 siblings, 0 replies; only message in thread
From: Mattias Ellert @ 2026-06-14  8:47 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/globus-gram-client
Branch : rawhide
Commit : 4ce898f6531c525983d71042d020af34f23ea7e7
Author : Mattias Ellert <mattias.ellert@physics.uu.se>
Date   : 2026-06-14T10:39:13+02:00
Stats  : +40/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/globus-gram-client/c/4ce898f6531c525983d71042d020af34f23ea7e7?branch=rawhide

Log:
Fix compiler warnings

---
diff --git a/0001-Fix-compiler-and-doxygen-warnings.patch b/0001-Fix-compiler-and-doxygen-warnings.patch
new file mode 100644
index 0000000..56dab7d
--- /dev/null
+++ b/0001-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] Fix compiler and doxygen warnings
+
+---
+ gram/client/source/test/activate-test.c | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/gram/client/source/test/activate-test.c b/gram/client/source/test/activate-test.c
+index 8b272b352..051e04a11 100644
+--- a/gram/client/source/test/activate-test.c
++++ b/gram/client/source/test/activate-test.c
+@@ -20,15 +20,14 @@
+ int main(int argc, char *argv[])
+ {
+     int rc;
+-    int failed = 0;
+ 
+     LTDL_SET_PRELOADED_SYMBOLS();
+ 
+     printf("1..2\n");
+-    failed += rc = !(!globus_module_activate(GLOBUS_GRAM_CLIENT_MODULE));
++    rc = !(!globus_module_activate(GLOBUS_GRAM_CLIENT_MODULE));
+     printf("%s 1 - activate\n", rc==0?"ok":"not ok");
+ 
+-    failed += rc = !(!globus_module_deactivate(GLOBUS_GRAM_CLIENT_MODULE));
++    rc = !(!globus_module_deactivate(GLOBUS_GRAM_CLIENT_MODULE));
+     printf("%s 2 - deactivate\n", rc==0?"ok":"not ok");
+ 
+     return 0;
+-- 
+2.54.0
+

diff --git a/globus-gram-client.spec b/globus-gram-client.spec
index ddb7c91..e07e38e 100644
--- a/globus-gram-client.spec
+++ b/globus-gram-client.spec
@@ -1,13 +1,14 @@
 Name:		globus-gram-client
 %global _name %(tr - _ <<< %{name})
 Version:	14.7
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Grid Community Toolkit - GRAM Client Library
 
 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-Fix-compiler-and-doxygen-warnings.patch
 
 BuildRequires:	make
 BuildRequires:	gcc
@@ -60,6 +61,7 @@ GRAM Client Library Documentation Files
 
 %prep
 %setup -q -n %{_name}-%{version}
+%patch -P0 -p4
 
 %build
 # Reduce overlinking
@@ -111,6 +113,9 @@ GLOBUS_HOSTNAME=localhost %make_build check
 %license GLOBUS_LICENSE
 
 %changelog
+* Sun Jun 14 2026 Mattias Ellert <mattias.ellert@physics.uu.se> - 14.7-3
+- Fix compiler warnings
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 14.7-2
 - 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:47 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:47 [rpms/globus-gram-client] 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