coreutils 5.3.0: uptime needs -lm on uclibc, fixed the Makefile.am
authorJohn Bowler <jbowler@nslu2-linux.org>
Wed, 28 Sep 2005 17:18:38 +0000 (17:18 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 28 Sep 2005 17:18:38 +0000 (17:18 +0000)
packages/coreutils/coreutils-5.3.0/uptime-pow-lib.patch [new file with mode: 0644]
packages/coreutils/coreutils_5.3.0.bb

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 (file)
index 0000000..5eb3fca
--- /dev/null
@@ -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)
index 8fbe69b..759e9a4 100644 (file)
@@ -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