Magellan Linux

Annotation of /trunk/fluxbox/patches/fluxbox-1.3.7-c++17.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3770 - (hide annotations) (download)
Fri Sep 1 08:16:45 2023 UTC (8 months, 2 weeks ago) by niro
File size: 899 byte(s)
-fixed build with newer gcc
1 niro 3770 http://git.fluxbox.org/fluxbox.git/patch/?id=22866c4d30f5b289c429c5ca88d800200db4fc4f
2     https://bugs.gentoo.org/732782
3    
4     From 22866c4d30f5b289c429c5ca88d800200db4fc4f Mon Sep 17 00:00:00 2001
5     From: John Sennesael <john@aminking.com>
6     Date: Mon, 2 Nov 2015 15:14:32 -0600
7     Subject: fixes bug #1138
8    
9     ---
10     util/fluxbox-remote.cc | 2 +-
11     1 file changed, 1 insertion(+), 1 deletion(-)
12    
13     diff --git a/util/fluxbox-remote.cc b/util/fluxbox-remote.cc
14     index 59852e6..504015b 100644
15     --- a/util/fluxbox-remote.cc
16     +++ b/util/fluxbox-remote.cc
17     @@ -73,7 +73,7 @@ int main(int argc, char **argv) {
18     if (strcmp(cmd, "result") == 0) {
19     XTextProperty text_prop;
20     if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
21     - && text_prop.value > 0
22     + && text_prop.value != 0
23     && text_prop.nitems > 0) {
24    
25     printf("%s", text_prop.value);
26     --
27     cgit v0.11.2
28