Author: adconrad Date: 2012-11-25 07:32:41 +0000 (Sun, 25 Nov 2012) New Revision: 5401
Added: glibc-package/branches/eglibc-2.16/debian/patches/powerpc/submitted-UAPI_ASM_POWERPC_ELF.diff Modified: glibc-package/branches/eglibc-2.16/debian/changelog glibc-package/branches/eglibc-2.16/debian/patches/series Log: Add patches/powerpc/submitted-UAPI_ASM_POWERPC_ELF.diff to fix builds on PowerPC against linux headers from 3.7-rc. Remove if fixed for 3.7-final. Modified: glibc-package/branches/eglibc-2.16/debian/changelog =================================================================== --- glibc-package/branches/eglibc-2.16/debian/changelog 2012-11-25 07:17:19 UTC (rev 5400) +++ glibc-package/branches/eglibc-2.16/debian/changelog 2012-11-25 07:32:41 UTC (rev 5401) @@ -3,6 +3,8 @@ [ Adam Conrad ] * Add patches/any/cvs-cxxheaders-detection[1-3].diff to bring us up to date with my C++ header detection patch on glibc trunk, for g++-4.7_4.7.2-10. + * Add patches/powerpc/submitted-UAPI_ASM_POWERPC_ELF.diff to fix builds on + PowerPC against linux headers from 3.7-rc. Remove if fixed for 3.7-final. [ Aurelien Jarno ] * Add patches/m68k/cvs-syscall-arguments.diff to fix cancellable syscall Added: glibc-package/branches/eglibc-2.16/debian/patches/powerpc/submitted-UAPI_ASM_POWERPC_ELF.diff =================================================================== --- glibc-package/branches/eglibc-2.16/debian/patches/powerpc/submitted-UAPI_ASM_POWERPC_ELF.diff (rev 0) +++ glibc-package/branches/eglibc-2.16/debian/patches/powerpc/submitted-UAPI_ASM_POWERPC_ELF.diff 2012-11-25 07:32:41 UTC (rev 5401) @@ -0,0 +1,23 @@ +2012-11-25 Adam Conrad <adcon...@0c3.net> + + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Support + _UAPI_ASM_POWERPC_ELF_H in the Linux 3.7 headers. + +More info at: http://article.gmane.org/gmane.linux.kernel.cross-arch/15847 + http://sourceware.org/ml/libc-alpha/2012-11/msg00673.html + +diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h +index dc41bdf..a8f9878 100644 +--- a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h ++++ b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h +@@ -34,7 +34,9 @@ __BEGIN_DECLS + /* These definitions are normally provided by ucontext.h via + asm/sigcontext.h, asm/ptrace.h, and asm/elf.h. Otherwise we define + them here. */ +-#if !defined __PPC64_ELF_H && !defined _ASM_POWERPC_ELF_H ++#if !defined __PPC64_ELF_H \ ++ && !defined _ASM_POWERPC_ELF_H \ ++ && !defined _UAPI_ASM_POWERPC_ELF_H + #define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ + #define ELF_NFPREG 33 /* includes fpscr */ + #if __WORDSIZE == 32 Modified: glibc-package/branches/eglibc-2.16/debian/patches/series =================================================================== --- glibc-package/branches/eglibc-2.16/debian/patches/series 2012-11-25 07:17:19 UTC (rev 5400) +++ glibc-package/branches/eglibc-2.16/debian/patches/series 2012-11-25 07:32:41 UTC (rev 5401) @@ -160,6 +160,7 @@ mips/submitted-wordsize-clang.diff powerpc/local-math-logb.diff +powerpc/submitted-UAPI_ASM_POWERPC_ELF.diff s390/submitted-nexttowardf.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1tcwhl-0002vm...@vasks.debian.org