summaryrefslogtreecommitdiff
path: root/packages/coreutils
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-09-28 17:18:38 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-28 17:18:38 +0000
commit68d8d7904d7f99c3a6d75557c56e9c02d5f31af1 (patch)
tree47a1b4202ef126c3d0986913439207350c0a2450 /packages/coreutils
parent2766fda591ec235b4fb4d0ef72a81d4628536c8b (diff)
coreutils 5.3.0: uptime needs -lm on uclibc, fixed the Makefile.am
Diffstat (limited to 'packages/coreutils')
-rw-r--r--packages/coreutils/coreutils-5.3.0/uptime-pow-lib.patch11
-rw-r--r--packages/coreutils/coreutils_5.3.0.bb2
2 files changed, 13 insertions, 0 deletions
diff --git a/packages/coreutils/coreutils-5.3.0/uptime-pow-lib.patch b/packages/coreutils/coreutils-5.3.0/uptime-pow-lib.patch
new file mode 100644
index 0000000000..5eb3fca676
--- /dev/null
+++ b/packages/coreutils/coreutils-5.3.0/uptime-pow-lib.patch
@@ -0,0 +1,11 @@
+--- coreutils-5.3.0/src/Makefile.am.orig 2005-09-27 22:34:35.659272058 -0700
++++ coreutils-5.3.0/src/Makefile.am 2005-09-27 22:34:39.403507668 -0700
+@@ -74,7 +74,7 @@
+ sleep_LDADD = $(nanosec_libs)
+ tail_LDADD = $(nanosec_libs)
+
+-uptime_LDADD = $(LDADD) $(GETLOADAVG_LIBS)
++uptime_LDADD = $(LDADD) $(POW_LIB) $(GETLOADAVG_LIBS)
+
+ su_LDADD = $(LDADD) $(LIB_CRYPT)
+
diff --git a/packages/coreutils/coreutils_5.3.0.bb b/packages/coreutils/coreutils_5.3.0.bb
index 8fbe69b09f..759e9a4017 100644
--- a/packages/coreutils/coreutils_5.3.0.bb
+++ b/packages/coreutils/coreutils_5.3.0.bb
@@ -9,6 +9,8 @@ SRC_URI = "ftp://alpha.gnu.org/gnu/coreutils/coreutils-${PV}.tar.bz2 \
file://install-cross.patch;patch=1;pnum=0 \
file://man.patch;patch=1"
+SRC_URI += "file://uptime-pow-lib.patch;patch=1"
+
inherit autotools
# [ gets a special treatment and is not included in this