Bug 197326 - sys-apps/findutils-4.3.8-r1 fails to build with glibc-2.7
Bug#: 197326 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: loki_val@gentoo.org
Component: Core system
URL: 
Summary: sys-apps/findutils-4.3.8-r1 fails to build with glibc-2.7
Keywords:  
Status Whiteboard: 
Opened: 2007-10-28 20:18 0000
Description:   Opened: 2007-10-28 20:18 0000
findutils fails to build against sys-libs/glibc-2.7. Error:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../intl   -O2
-march=athlon-xp -pipe -ggdb3 -MT mbslen.o -MD -MP -MF .deps/mbslen.Tpo -c -o
mbslen.o mbslen.c
In file included from mbslen.c:26:
mbuiter.h:185: error: expected declaration specifiers or ‘...’ before
‘ptrdiff_t’
mbuiter.h: In function ‘mbuiter_multi_reloc’:
mbuiter.h:187: error: ‘ptrdiff’ undeclared (first use in this function)
mbuiter.h:187: error: (Each undeclared identifier is reported only once
mbuiter.h:187: error: for each function it appears in.)


Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Peter Alfredsen 2007-10-28 20:30:50 0000 -------
Created an attachment (id=134566) [details]
findutils-4.3.8-ptrdiff_t.patch

This fixes it for me. Place in FILESDIR.

------- Comment #2 From Peter Alfredsen 2007-10-28 20:35:24 0000 -------
Created an attachment (id=134571) [details]
findutils-4.3.8-r1.patch

Patch for ebuild

------- Comment #3 From SpanKY 2007-10-28 21:21:08 0000 -------
fixed in cvs, cheers