psmisc: Upgrade from 22.2 to 22.13

Modify the libintl-link.patch because the upstream removed old fuser in 22.7

(From OE-Core rev: da398f759a7c63369cfd0c8eb92ca1dc3be1472d)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mei Lei 2011-04-12 10:40:00 +08:00 committed by Richard Purdie
parent 1d3d3aa286
commit 903806a0bf
3 changed files with 21 additions and 20 deletions

View File

@ -1,29 +1,30 @@
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Mei Lei <lei.mei@intel.com>
uClibc needs to link against an external libintl but it doesn't do this by
default. The configure script correctly figures out if this is needed, but
doesn't actually link to the libraries it decides on. This makes it link to
them if they are needed:
--- psmisc-22.2/src/Makefile.am 2006/06/28 00:14:07 1.1
+++ psmisc-22.2/src/Makefile.am 2006/06/28 00:14:24
@@ -5,15 +5,19 @@
--- psmisc-22.13/src/Makefile.am
+++ psmisc-22.13/src/Makefile.am
@@ -25,16 +25,17 @@ endif
oldfuser_SOURCES = oldfuser.c comm.h signals.c signals.h loop.h i18n.h
+oldfuser_LDADD = @INTLLIBS@
+
fuser_SOURCES = fuser.c comm.h signals.c signals.h i18n.h fuser.h
+fuser_LDADD = @INTLLIBS@
+
killall_SOURCES = killall.c comm.h signals.c signals.h i18n.h
-killall_LDADD = @SELINUX_LIB@
+killall_LDADD = @SELINUX_LIB@ @INTLLIBS@
peekfd_SOURCES = peekfd.c
pstree_SOURCES = pstree.c comm.h i18n.h
-pstree_LDADD = @TERMCAP_LIB@ @SELINUX_LIB@
+pstree_LDADD = @TERMCAP_LIB@ @SELINUX_LIB@ @INTLLIBS@
BUILT_SOURCES = signames.h
prtstat_SOURCES = prtstat.c prtstat.h

View File

@ -0,0 +1,7 @@
require psmisc.inc
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
PR = "r0"
SRC_URI[md5sum] = "e2c339e6b65b730042084023784a729e"
SRC_URI[sha256sum] = "06d25e8ebb4722dbcede98a787c39a9ed341f8e58fde10c0b2d6b35990b35daa"

View File

@ -1,7 +0,0 @@
require psmisc.inc
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
PR = "r1"
SRC_URI[md5sum] = "77737c817a40ef2c160a7194b5b64337"
SRC_URI[sha256sum] = "6bca237485a352362133792e000a3c8e367a26b0312c5c607db7c2a97717d15f"