public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fluxbox] epel8: Fix ordered comparison between pointer and integer 0 for gcc-11
@ 2026-11-09 11:13 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2026-11-09 11:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fluxbox
Branch : epel8
Commit : 7c4fceeab55cb581e847c9cf0ed1aac992276bc5
Author : Jeff Law <law@redhat.com>
Date : 2020-12-04T13:04:49-07:00
Stats : +18/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/fluxbox/c/7c4fceeab55cb581e847c9cf0ed1aac992276bc5?branch=epel8
Log:
Fix ordered comparison between pointer and integer 0 for gcc-11
---
diff --git a/fluxbox-gcc11.patch b/fluxbox-gcc11.patch
new file mode 100644
index 0000000..420da4b
--- /dev/null
+++ b/fluxbox-gcc11.patch
@@ -0,0 +1,13 @@
+diff --git a/util/fluxbox-remote.cc b/util/fluxbox-remote.cc
+index 59852e6..504015b 100644
+--- util/fluxbox-remote.cc
++++ util/fluxbox-remote.cc
+@@ -73,7 +73,7 @@ int main(int argc, char **argv) {
+ if (strcmp(cmd, "result") == 0) {
+ XTextProperty text_prop;
+ if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
+- && text_prop.value > 0
++ && text_prop.value != 0
+ && text_prop.nitems > 0) {
+
+ printf("%s", text_prop.value);
diff --git a/fluxbox.spec b/fluxbox.spec
index fd33f9d..1c05302 100644
--- a/fluxbox.spec
+++ b/fluxbox.spec
@@ -1,6 +1,6 @@
Name: fluxbox
Version: 1.3.7
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: Window Manager based on Blackbox
@@ -12,6 +12,7 @@ Source3: fluxbox-xsessions.desktop
Source5: fluxbox-applications.desktop
Patch0: fluxbox-startfluxbox-pulseaudio.patch
+Patch1: %{name}-gcc11.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -126,6 +127,9 @@ install -m 0644 -p 3rd/vim/vim/syntax/fluxmenu.vim %{buildroot}%{_datadir}/vim/v
%{_datadir}/vim/vimfiles/syntax/flux*.vim
%changelog
+* Fri Dec 04 2020 Jeff Law <law@redhat.com> - 1.3.7-16
+- Fix ordered comparison between pointer and integer 0 for gcc-11
+
* Mon Nov 23 2020 Ding-Yi Chen <dchen@redhat.com> - 1.3.7-15
- Remove S macro, as it does not seem to work with Fedora 33
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-09 11:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 11:13 [rpms/fluxbox] epel8: Fix ordered comparison between pointer and integer 0 for gcc-11 Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox