diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-01-21 22:14:23 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-01-21 22:14:23 +0000 |
commit | 897eb0544fe7e7dc9c6e4b2f3f2e89465dad265c (patch) | |
tree | bbb43129f867b64107ce8d649a7d3fe2669c0375 /x11-wm | |
parent | 01b92b80b0eed0849bfa1a7927408ee525651ffa (diff) |
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc b/x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc new file mode 100644 index 000000000000..d8bd9bce6a6e --- /dev/null +++ b/x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc @@ -0,0 +1,15 @@ +Upstream fix for bogus pointer comparison: +Issue: https://sourceforge.net/p/fluxbox/bugs/1138/ +Commit: http://git.fluxbox.org/fluxbox.git/commit/util/fluxbox-remote.cc?id=22866c4d30f5b289c429c5ca88d800200db4fc4f + +--- util/fluxbox-remote.cc.orig 2015-02-08 10:44:45 UTC ++++ 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); |