Date: Sat, 21 Jan 2017 22:14:23 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432090 - head/x11-wm/fluxbox/files Message-ID: <201701212214.v0LMENOm063498@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tcberner Date: Sat Jan 21 22:14:23 2017 New Revision: 432090 URL: https://svnweb.freebsd.org/changeset/ports/432090 Log: Fix graphics/py-poppler-qt4: fails to build with clang 4.0 Import upstream commit http://git.fluxbox.org/fluxbox.git/commit/util/fluxbox-remote.cc?id=22866c4d30f5b289c429c5ca88d800200db4fc4f for issue https://sourceforge.net/p/fluxbox/bugs/1138/ PR: 216176 Approved by: portmgr blanket, rakuco (mentor) MFH: 2017Q1 Added: head/x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc (contents, props changed) Added: head/x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/fluxbox/files/patch-util_fluxbox-remote.cc Sat Jan 21 22:14:23 2017 (r432090) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701212214.v0LMENOm063498>