summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-01-18 14:43:25 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-01-18 14:43:25 +0000
commit38fb1d45b9a0462a2187e7af67cf5e7b56deb08a (patch)
treedf12ec0ab8d5f41b321ca51d036082b6942e64ce /meta
parent364c193b52cadfad5def00ebdca8e69d4224da6e (diff)
downloadopenembedded-core-38fb1d45b9a0462a2187e7af67cf5e7b56deb08a.tar.gz
tinylogin: make it build against uclibc 0.9.29 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3541 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/tinylogin/tinylogin-1.4/remove-index.patch11
-rw-r--r--meta/packages/tinylogin/tinylogin_1.4.bb5
2 files changed, 14 insertions, 2 deletions
diff --git a/meta/packages/tinylogin/tinylogin-1.4/remove-index.patch b/meta/packages/tinylogin/tinylogin-1.4/remove-index.patch
new file mode 100644
index 0000000000..fc35002bad
--- /dev/null
+++ b/meta/packages/tinylogin/tinylogin-1.4/remove-index.patch
@@ -0,0 +1,11 @@
+--- /tmp/deluser.c 2007-05-13 10:38:19.000000000 +0200
++++ tinylogin-1.4/deluser.c 2007-05-13 10:38:50.185251000 +0200
+@@ -60,7 +60,7 @@
+ }
+ start++;
+
+- stop = index(start, '\n'); /* index is a BSD-ism */
++ stop = strchr(start, '\n'); /* index is a BSD-ism, strchr hopefully isn't */
+ b.start = start - buffer;
+ b.stop = stop - buffer;
+ return b;
diff --git a/meta/packages/tinylogin/tinylogin_1.4.bb b/meta/packages/tinylogin/tinylogin_1.4.bb
index 33f1c32aed..ad254bff6a 100644
--- a/meta/packages/tinylogin/tinylogin_1.4.bb
+++ b/meta/packages/tinylogin/tinylogin_1.4.bb
@@ -5,12 +5,13 @@ changing passwords, and otherwise maintaining users \
and groups on an embedded system."
HOMEPAGE = "http://tinylogin.busybox.net/"
LICENSE = "GPL"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2 \
file://cvs-20040608.patch;patch=1;pnum=1 \
file://add-system.patch;patch=1;pnum=1 \
- file://adduser-empty_pwd.patch;patch=1"
+ file://adduser-empty_pwd.patch;patch=1 \
+ file://remove-index.patch;patch=1"
EXTRA_OEMAKE = ""