diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-18 14:43:25 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-18 14:43:25 +0000 |
commit | 38fb1d45b9a0462a2187e7af67cf5e7b56deb08a (patch) | |
tree | df12ec0ab8d5f41b321ca51d036082b6942e64ce /meta/packages/tinylogin/tinylogin-1.4/remove-index.patch | |
parent | 364c193b52cadfad5def00ebdca8e69d4224da6e (diff) | |
download | poky-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/packages/tinylogin/tinylogin-1.4/remove-index.patch')
-rw-r--r-- | meta/packages/tinylogin/tinylogin-1.4/remove-index.patch | 11 |
1 files changed, 11 insertions, 0 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; | ||