pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/wm/fluxbox



Module Name:    pkgsrc
Committed By:   joerg
Date:           Tue Mar  7 13:22:28 UTC 2017

Modified Files:
        pkgsrc/wm/fluxbox: distinfo
Added Files:
        pkgsrc/wm/fluxbox/patches: patch-util_fluxbox-remote.cc

Log Message:
Do not compare pointers with 0.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/wm/fluxbox/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/wm/fluxbox/patches/patch-util_fluxbox-remote.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/fluxbox/distinfo
diff -u pkgsrc/wm/fluxbox/distinfo:1.34 pkgsrc/wm/fluxbox/distinfo:1.35
--- pkgsrc/wm/fluxbox/distinfo:1.34     Wed Feb 22 12:20:51 2017
+++ pkgsrc/wm/fluxbox/distinfo  Tue Mar  7 13:22:27 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.34 2017/02/22 12:20:51 wiz Exp $
+$NetBSD: distinfo,v 1.35 2017/03/07 13:22:27 joerg Exp $
 
 SHA1 (fluxbox-1.3.7.tar.bz2) = f8939f43b4c353ebef5fec2b95e8cbfd3cd5ac4d
 RMD160 (fluxbox-1.3.7.tar.bz2) = efb8d458edf2b429fb2999eb184ab3aed6a54f7a
@@ -13,3 +13,4 @@ SHA1 (patch-bg) = 8f4decdb2ff611dcc1af64
 SHA1 (patch-bj) = 9b0ac35028644b142073a498bc3d59324c51d349
 SHA1 (patch-bk) = ae0c9857dd0cd203c8ae3f4bf5a0c7126cf48c92
 SHA1 (patch-src_fluxbox.cc) = a652d685cd80896b45bfa7b2dfd5e98b2561e326
+SHA1 (patch-util_fluxbox-remote.cc) = fa2389ad36f41a6080a43ad1755cd5ad904a27cf

Added files:

Index: pkgsrc/wm/fluxbox/patches/patch-util_fluxbox-remote.cc
diff -u /dev/null pkgsrc/wm/fluxbox/patches/patch-util_fluxbox-remote.cc:1.1
--- /dev/null   Tue Mar  7 13:22:28 2017
+++ pkgsrc/wm/fluxbox/patches/patch-util_fluxbox-remote.cc      Tue Mar  7 13:22:28 2017
@@ -0,0 +1,13 @@
+$NetBSD: patch-util_fluxbox-remote.cc,v 1.1 2017/03/07 13:22:28 joerg Exp $
+
+--- util/fluxbox-remote.cc.orig        2017-02-28 00:35:38.013459100 +0000
++++ 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
+             && text_prop.nitems > 0) {
+ 
+             printf("%s", text_prop.value);



Home | Main Index | Thread Index | Old Index