aboutsummaryrefslogtreecommitdiffstats
path: root/package/psmisc/psmisc-no-__progname.patch
blob: 82e6daf77b4a949e1b6a4e19cb0929354cbdc82d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[PATCH]: pstree: don't use glibc-specific __progname

uclibc (per default) doesn't implement __progname, and the pstree.x11
stuff isn't that critical, so just disable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 src/pstree.c |    3 ---
 1 file changed, 3 deletions(-)

Index: psmisc-22.8/src/pstree.c
===================================================================
--- psmisc-22.8.orig/src/pstree.c
+++ psmisc-22.8/src/pstree.c
@@ -893,9 +893,6 @@ main (int argc, char **argv)
   bindtextdomain(PACKAGE, LOCALEDIR);
   textdomain(PACKAGE);
 #endif
-  
-  if (!strcmp(__progname, "pstree.x11"))
-    wait_end=1;
 
   /*
    * Attempt to figure out a good default symbol set.  Will be overriden by