svn commit: r432090 - head/x11-wm/fluxbox/files

Tobias C. Berner tcberner at FreeBSD.org
Sat Jan 21 22:14:24 UTC 2017


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);


More information about the svn-ports-head mailing list