[Buildroot] [PATCH] backend/pixma_bjnp: Replace index() with strchr()

Markos Chandras Markos.Chandras at imgtec.com
Mon Mar 5 15:45:10 UTC 2012


Hi,

This patch replaces the obsolete index() function with strchr() in
sane-backends code. I have also filed a bug upstream

https://alioth.debian.org/tracker/index.php?func=detail&aid=313563&group_id=30186&atid=410366

I don't know if you want to include this patch on buildroot before
upstream does, but it may be useful for people wondering why
sane-backend does not build on certain systems. The index() and rindex()
functions are only exported if uClibc is configured with
UCLIBC_SUSV3_LEGACY_MACROS. This problem has also been discussed in the
past:

http://lists.busybox.net/pipermail/buildroot/2007-June/015201.html

-- 
markos
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sane-backends-1.0.22-index-to-strchr.patch
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120305/7f462654/attachment-0001.ksh>


More information about the buildroot mailing list