patches/glibc/2.3.2/old/glibc-2.3.2-powerpc-procfs.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.3.2/old/glibc-2.3.2-powerpc-procfs.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +See http://sources.redhat.com/ml/libc-alpha/2003-12/msg00101.html
     1.5 +Fixes
     1.6 +../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: error: conflicting types  for 'elf_vrreg_t' 
     1.7 +when building glibc-2.3.2 for powerpc64 and linux-2.6.x
     1.8 +
     1.9 +===================================================================
    1.10 +RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h,v
    1.11 +retrieving revision 1.10
    1.12 +retrieving revision 1.11
    1.13 +diff -u -r1.10 -r1.11
    1.14 +--- libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h	2003/01/12 08:24:23	1.10
    1.15 ++++ libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h	2003/12/17 23:09:34	1.11
    1.16 +@@ -45,7 +45,6 @@
    1.17 + 
    1.18 + typedef double elf_fpreg_t;
    1.19 + typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
    1.20 +-#endif
    1.21 + 
    1.22 + /* gcc 3.1 and newer support __uint128_t.  */
    1.23 + #if !__GNUC_PREREQ(3,1)
    1.24 +@@ -57,6 +56,7 @@
    1.25 + /* Altivec registers */
    1.26 + typedef __uint128_t elf_vrreg_t;
    1.27 + typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG];
    1.28 ++#endif
    1.29 + 
    1.30 + struct elf_siginfo
    1.31 +   {