diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2023-01-13 13:02:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2023-01-13 13:02:54 +0100 |
commit | 8247b35974f51185e5c659d40c95649979b8dc82 (patch) | |
tree | fc307f15d7280a0ff7caf2d78d1f1523e3e102fd /package/fluxbox/patches/patch-util_fluxbox-remote_cc | |
parent | 247d51e91caae6499f7e739a37064354ab790f66 (diff) |
fluxbox: fix compile errorwith g++11
Diffstat (limited to 'package/fluxbox/patches/patch-util_fluxbox-remote_cc')
-rw-r--r-- | package/fluxbox/patches/patch-util_fluxbox-remote_cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/fluxbox/patches/patch-util_fluxbox-remote_cc b/package/fluxbox/patches/patch-util_fluxbox-remote_cc new file mode 100644 index 000000000..bc76ea43e --- /dev/null +++ b/package/fluxbox/patches/patch-util_fluxbox-remote_cc @@ -0,0 +1,11 @@ +--- fluxbox-1.3.7.orig/util/fluxbox-remote.cc 2015-02-08 11:44:45.377187009 +0100 ++++ fluxbox-1.3.7/util/fluxbox-remote.cc 2023-01-13 06:47:39.349301911 +0100 +@@ -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); |