File psmisc-22.6-tigetstr.patch of Package psmisc

--- src/pstree.c
+++ src/pstree.c	2008-10-09 16:24:23.278874191 +0200
@@ -861,7 +861,7 @@ main (int argc, char **argv)
   } else if (isatty (1) && (termname = getenv ("TERM")) && \
              (strlen (termname) > 0) && \
              (setupterm (NULL, 1 /* stdout */, NULL) == OK) && \
-             (tigetstr ("acsc") > 0)) {
+             ((int)tigetstr ("acsc") > 0)) {
     /*
      * Failing that, if TERM is defined, a non-null value, and the terminal
      * has the VT100 graphics charset, use it.
openSUSE Build Service is sponsored by