Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] backend/pixma_bjnp: Replace index() with strchr()
@ 2012-03-05 15:45 Markos Chandras
  2012-03-06 10:16 ` Markos Chandras
  0 siblings, 1 reply; 2+ messages in thread
From: Markos Chandras @ 2012-03-05 15:45 UTC (permalink / raw)
  To: buildroot

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] backend/pixma_bjnp: Replace index() with strchr()
  2012-03-05 15:45 [Buildroot] [PATCH] backend/pixma_bjnp: Replace index() with strchr() Markos Chandras
@ 2012-03-06 10:16 ` Markos Chandras
  0 siblings, 0 replies; 2+ messages in thread
From: Markos Chandras @ 2012-03-06 10:16 UTC (permalink / raw)
  To: buildroot

On 03/05/2012 03:45 PM, Markos Chandras wrote:

> 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
> 

This patch is now in sane-backends git repository

http://anonscm.debian.org/gitweb/?p=sane/sane-backends.git;a=commitdiff;h=66fb96d9ad04a901824a0ab14269b525fbbbf7c4

-- 
markos

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-06 10:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05 15:45 [Buildroot] [PATCH] backend/pixma_bjnp: Replace index() with strchr() Markos Chandras
2012-03-06 10:16 ` Markos Chandras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox