summaryrefslogtreecommitdiff
path: root/meta/packages/psmisc/files/libintl-link.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-01-18 15:11:16 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-01-18 15:11:16 +0000
commitbed9c6e971fc409ff02f56dad5961e6edc3bd7ea (patch)
tree9175ba7957ccf10e308d154a625256df0d60d352 /meta/packages/psmisc/files/libintl-link.patch
parent979d581764369a0bd618a6445a43c068a3ed3aaa (diff)
downloadopenembedded-core-bed9c6e971fc409ff02f56dad5961e6edc3bd7ea.tar.gz
openembedded-core-bed9c6e971fc409ff02f56dad5961e6edc3bd7ea.tar.bz2
openembedded-core-bed9c6e971fc409ff02f56dad5961e6edc3bd7ea.tar.xz
openembedded-core-bed9c6e971fc409ff02f56dad5961e6edc3bd7ea.zip
psmisc: upgraded to 22.2 from OE (with uClibc fix)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3543 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/psmisc/files/libintl-link.patch')
-rw-r--r--meta/packages/psmisc/files/libintl-link.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/psmisc/files/libintl-link.patch b/meta/packages/psmisc/files/libintl-link.patch
new file mode 100644
index 000000000..d9cdd90d7
--- /dev/null
+++ b/meta/packages/psmisc/files/libintl-link.patch
@@ -0,0 +1,29 @@
+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 @@
+
+ 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@
+
+ 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
+