File gcc-346-ucontext.patch of Package gpc

--- gcc-3.4.6/gcc/config/i386/linux64.h.orig	2018-02-01 10:54:20.550290000 +0000
+++ gcc-3.4.6/gcc/config/i386/linux64.h	2018-02-01 10:57:06.330290000 +0000
@@ -90,7 +90,7 @@
     if (*(unsigned char *)(pc_+0) == 0x48				\
 	&& *(unsigned long *)(pc_+1) == 0x050f0000000fc0c7)		\
       {									\
-	struct ucontext *uc_ = (CONTEXT)->cfa;				\
+        ucontext_t *uc_ = (CONTEXT)->cfa;				\
 	sc_ = (struct sigcontext *) &uc_->uc_mcontext;			\
       }									\
     else								\
@@ -160,7 +160,7 @@
 	  struct siginfo *pinfo;					\
 	  void *puc;							\
 	  struct siginfo info;						\
-	  struct ucontext uc;						\
+          ucontext_t uc;						\
 	} *rt_ = (CONTEXT)->cfa;					\
 	sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext;		\
       }									\
--- gcc-3.4.6/gcc/config/i386/linux.h.orig	2018-02-01 11:30:43.833553000 +0000
+++ gcc-3.4.6/gcc/config/i386/linux.h	2018-02-01 11:31:22.689553000 +0000
@@ -238,7 +238,7 @@
 	  siginfo_t *pinfo;					\
 	  void *puc;							\
 	  siginfo_t info;						\
-	  struct ucontext uc;						\
+          ucontext_t uc;						\
 	} *rt_ = (CONTEXT)->cfa;					\
 	sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext;		\
       }									\
openSUSE Build Service is sponsored by