summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
1--- /tmp/deluser.c 2007-05-13 10:38:19.000000000 +0200
2+++ tinylogin-1.4/deluser.c 2007-05-13 10:38:50.185251000 +0200
3@@ -60,7 +60,7 @@
4 }
5 start++;
6
7- stop = index(start, '\n'); /* index is a BSD-ism */
8+ stop = strchr(start, '\n'); /* index is a BSD-ism, strchr hopefully isn't */
9 b.start = start - buffer;
10 b.stop = stop - buffer;
11 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 \
5and groups on an embedded system." 5and groups on an embedded system."
6HOMEPAGE = "http://tinylogin.busybox.net/" 6HOMEPAGE = "http://tinylogin.busybox.net/"
7LICENSE = "GPL" 7LICENSE = "GPL"
8PR = "r3" 8PR = "r4"
9 9
10SRC_URI = "http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2 \ 10SRC_URI = "http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2 \
11 file://cvs-20040608.patch;patch=1;pnum=1 \ 11 file://cvs-20040608.patch;patch=1;pnum=1 \
12 file://add-system.patch;patch=1;pnum=1 \ 12 file://add-system.patch;patch=1;pnum=1 \
13 file://adduser-empty_pwd.patch;patch=1" 13 file://adduser-empty_pwd.patch;patch=1 \
14 file://remove-index.patch;patch=1"
14 15
15EXTRA_OEMAKE = "" 16EXTRA_OEMAKE = ""
16 17