Make ltrace build for Alpha (eg. alphaev56-* _is_ an Alpha!).
/trunk/patches/ltrace/0.4/120-alpha-support.patch | 11 11 0 0 +++++++++++
1 file changed, 11 insertions(+)
1 --- glibc-2.7/sysdeps/unix/sysv/linux/dl-osinfo.h.orig 2007-09-15 23:54:08.000000000 +0100
2 +++ glibc-2.7/sysdeps/unix/sysv/linux/dl-osinfo.h 2008-08-20 09:26:26.000000000 +0100
8 + int versionindex = 0;
12 /* Try the uname system call. */
18 + /* We are only interested in the first three kernel numbers, so */
19 + /* chop off anything past that: */
25 + if (versionindex == 63) break;
26 + if (*choppoint == '.') dotsfound++;
30 + if (*choppoint == '0' || *choppoint == '1'
31 + || *choppoint == '2' || *choppoint == '3'
32 + || *choppoint == '4' || *choppoint == '5'
33 + || *choppoint == '6' || *choppoint == '7'
34 + || *choppoint == '8' || *choppoint == '9')
44 /* Now convert it into a number. The string consists of at most
46 + three parts. Now it does, anyway. ;-) */