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>
This commit is contained in:
parent
bba2fd540b
commit
7ba54a07d4
11
CHANGES
11
CHANGES
@ -27,11 +27,12 @@
|
|||||||
libelf, libevent, libglib2, libidn, liblockfile, libmad, libpcap,
|
libelf, libevent, libglib2, libidn, liblockfile, libmad, libpcap,
|
||||||
libupnp, libuuid, libxml2, lighttpd, ltrace, lua, lzma, magiccube4d,
|
libupnp, libuuid, libxml2, lighttpd, ltrace, lua, lzma, magiccube4d,
|
||||||
matchbox, mdadm, nbd, ncftp, ncurses, netkittelnet, netsnmp,
|
matchbox, mdadm, nbd, ncftp, ncurses, netkittelnet, netsnmp,
|
||||||
ng-spice-rework, ntfs-3g, openntp, openssl, pcmanfm, php, python,
|
ng-spice-rework, ntfs-3g, openntp, openssl, pcmanfm, php, psmisc,
|
||||||
quagga, radvd, rsync, rubix, samba, sawman, sdl, shared-mime-info,
|
python, quagga, radvd, rsync, rubix, samba, sawman, sdl,
|
||||||
spawn-fcgi, speech-tools, sqlite, squashfs, synergy, syslinux,
|
shared-mime-info, spawn-fcgi, speech-tools, sqlite, squashfs, synergy,
|
||||||
target-binutils, tcpdump, u-boot, util-linux, valgrind, vsftpd, wipe,
|
syslinux, target-binutils, tcpdump, u-boot, util-linux, valgrind,
|
||||||
wpa-supplicant, xdata_xcursor-themes, xboard, xstroke, zlib
|
vsftpd, wipe, wpa-supplicant, xdata_xcursor-themes, xboard, xstroke,
|
||||||
|
zlib
|
||||||
|
|
||||||
Removed package: mdnsresponder, mpatrol, gcc 3.4.6 + 4.0.4, vice
|
Removed package: mdnsresponder, mpatrol, gcc 3.4.6 + 4.0.4, vice
|
||||||
|
|
||||||
|
24
package/psmisc/psmisc-no-__progname.patch
Normal file
24
package/psmisc/psmisc-no-__progname.patch
Normal file
@ -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
|
@ -3,11 +3,11 @@
|
|||||||
# psmisc
|
# psmisc
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
PSMISC_VERSION:=22.6
|
PSMISC_VERSION:=22.8
|
||||||
PSMISC_SOURCE:=psmisc-$(PSMISC_VERSION).tar.gz
|
PSMISC_SOURCE:=psmisc-$(PSMISC_VERSION).tar.gz
|
||||||
PSMISC_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/psmisc
|
PSMISC_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/psmisc
|
||||||
PSMISC_AUTORECONF:=no
|
PSMISC_AUTORECONF:=NO
|
||||||
PSMISC_INSTALL_STAGING:=no
|
PSMISC_INSTALL_STAGING:=NO
|
||||||
PSMISC_INSTALL_TARGET:=YES
|
PSMISC_INSTALL_TARGET:=YES
|
||||||
PSMISC_CONF_ENV:=ac_cv_func_malloc_0_nonnull=yes \
|
PSMISC_CONF_ENV:=ac_cv_func_malloc_0_nonnull=yes \
|
||||||
ac_cv_func_realloc_0_nonnull=yes
|
ac_cv_func_realloc_0_nonnull=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user