diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-11-23 14:41:36 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-11-23 14:41:36 +0100 |
commit | 7ba54a07d42825e06292c09a34de4490929506b9 (patch) | |
tree | e95af931d66cddf23939d5c1ccabf0faf8915b02 /package/psmisc/psmisc-no-__progname.patch | |
parent | bba2fd540bc211bbcea1ad1dfc552fe32021097d (diff) |
psmisc: bump version and fix build
./configure in psmisc 22.6 tested for a working C++ compiler and errored out
if not found, even though psmisc doesn't need it - Fixed in 22.8.
pstree.c uses __progname for pstree.x11 support, which isn't (per default)
available in uclibc. This stuff isn't really critical, so just disable it.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/psmisc/psmisc-no-__progname.patch')
-rw-r--r-- | package/psmisc/psmisc-no-__progname.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/psmisc/psmisc-no-__progname.patch b/package/psmisc/psmisc-no-__progname.patch new file mode 100644 index 000000000..82e6daf77 --- /dev/null +++ b/package/psmisc/psmisc-no-__progname.patch @@ -0,0 +1,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 |