public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattias Ellert <mattias.ellert@physics.uu.se>
To: git-commits@fedoraproject.org
Subject: [rpms/globus-gram-client] rawhide: Fix compiler warnings
Date: Sun, 14 Jun 2026 08:47:00 GMT	[thread overview]
Message-ID: <178142682068.1.13371305814637120172.rpms-globus-gram-client-4ce898f6531c@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-06-14  8:47 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=178142682068.1.13371305814637120172.rpms-globus-gram-client-4ce898f6531c@fedoraproject.org \
    --to=mattias.ellert@physics.uu.se \
    --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