]> git.pld-linux.org Git - packages/dietlibc.git/commitdiff
- added fix for <sys/ucontext.h> (based on glibc <bits/sigcontext.h>)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 22 Nov 2003 17:25:32 +0000 (17:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dietlibc-ppc.patch -> 1.4

dietlibc-ppc.patch

index 7bfbb82b2fadc17349504608171d6e92e5b4a0fa..730de6c6482ae9aeca0a99f892e68de7abaf2532 100644 (file)
@@ -41,3 +41,19 @@ diff -ur dietlibc-0.22/ppc/mmap.S dietlibc-0.22-/ppc/mmap.S
 +        blr
 +.Lfe1:
 +        .size    mmap,.Lfe1-mmap
+--- dietlibc-0.24/include/sys/ucontext.h.orig  2003-10-10 15:17:46.000000000 +0200
++++ dietlibc-0.24/include/sys/ucontext.h       2003-11-22 18:21:22.390804792 +0100
+@@ -1,6 +1,13 @@
+ #ifndef _SYS_UCONTEXT_H
+ #define _SYS_UCONTEXT_H
++/* follow glibc <bits/sigcontext.h> on ppc: */
++#if defined(powerpc) && !defined(sigcontext_struct)
++/* Kernel headers before 2.1.1 define a struct sigcontext_struct, but
++ *    we need sigcontext.  */
++# define sigcontext_struct sigcontext
++#endif
++
+ #include <asm/sigcontext.h>
+ #include <signal.h>
This page took 0.043316 seconds and 4 git commands to generate.