patches/glibc/2.3.2/old/glibc-2.3.2-powerpc-procfs.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 06 21:47:29 2007 +0000 (2007-05-06)
changeset 62 651912c5477c
permissions -rw-r--r--
Linux kernel headers install does not need the kernel to be configured. Dropping this unneccessary step.
     1 See http://sources.redhat.com/ml/libc-alpha/2003-12/msg00101.html
     2 Fixes
     3 ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: error: conflicting types  for 'elf_vrreg_t' 
     4 when building glibc-2.3.2 for powerpc64 and linux-2.6.x
     5 
     6 ===================================================================
     7 RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h,v
     8 retrieving revision 1.10
     9 retrieving revision 1.11
    10 diff -u -r1.10 -r1.11
    11 --- libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h	2003/01/12 08:24:23	1.10
    12 +++ libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h	2003/12/17 23:09:34	1.11
    13 @@ -45,7 +45,6 @@
    14  
    15  typedef double elf_fpreg_t;
    16  typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
    17 -#endif
    18  
    19  /* gcc 3.1 and newer support __uint128_t.  */
    20  #if !__GNUC_PREREQ(3,1)
    21 @@ -57,6 +56,7 @@
    22  /* Altivec registers */
    23  typedef __uint128_t elf_vrreg_t;
    24  typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG];
    25 +#endif
    26  
    27  struct elf_siginfo
    28    {