File gcc48-update-ucontext.diff of Package cross-hppa-gcc48-icecream-backend

Index: gcc-4.8.5/libjava/include/i386-signal.h
===================================================================
--- gcc-4.8.5.orig/libjava/include/i386-signal.h	2013-03-18 09:42:53.000000000 +0100
+++ gcc-4.8.5/libjava/include/i386-signal.h	2019-05-27 23:08:54.000000000 +0200
@@ -29,7 +29,7 @@ static void _Jv_##_name (int, siginfo_t
 #define HANDLE_DIVIDE_OVERFLOW						\
 do									\
 {									\
-  struct ucontext *_uc = (struct ucontext *)_p;				\
+  ucontext_t *_uc = (ucontext_t *)_p;				\
   gregset_t &_gregs = _uc->uc_mcontext.gregs;				\
   unsigned char *_eip = (unsigned char *)_gregs[REG_EIP];		\
 									\
Index: gcc-4.8.5/libjava/include/s390-signal.h
===================================================================
--- gcc-4.8.5.orig/libjava/include/s390-signal.h	2013-03-18 09:42:53.000000000 +0100
+++ gcc-4.8.5/libjava/include/s390-signal.h	2019-05-27 23:09:17.000000000 +0200
@@ -51,7 +51,7 @@ do									\
   struct                                                                \
   {                                                                     \
     unsigned long int uc_flags;                                         \
-    struct ucontext *uc_link;                                           \
+    ucontext_t *uc_link;                                           \
     stack_t uc_stack;                                                   \
     mcontext_t uc_mcontext;                                             \
     unsigned long sigmask[2];                                           \
Index: gcc-4.8.5/libjava/include/x86_64-signal.h
===================================================================
--- gcc-4.8.5.orig/libjava/include/x86_64-signal.h	2013-03-18 09:42:53.000000000 +0100
+++ gcc-4.8.5/libjava/include/x86_64-signal.h	2019-05-27 23:08:32.000000000 +0200
@@ -28,7 +28,7 @@ static void _Jv_##_name (int, siginfo_t
 #define HANDLE_DIVIDE_OVERFLOW						\
 do									\
 {									\
-  struct ucontext *_uc = (struct ucontext *)_p;				\
+  ucontext_t *_uc = (ucontext_t *)_p;				\
   gregset_t &_gregs = _uc->uc_mcontext.gregs;				\
   unsigned char *_rip = (unsigned char *)_gregs[REG_RIP];		\
 									\
Index: gcc-4.8.5/libgcc/config/aarch64/linux-unwind.h
===================================================================
--- gcc-4.8.5.orig/libgcc/config/aarch64/linux-unwind.h	2013-03-18 09:43:13.000000000 +0100
+++ gcc-4.8.5/libgcc/config/aarch64/linux-unwind.h	2019-05-27 23:18:35.000000000 +0200
@@ -39,7 +39,7 @@ aarch64_fallback_frame_state (struct _Un
   struct rt_sigframe
   {
     siginfo_t info;
-    struct ucontext uc;
+    ucontext_t uc;
   };
 
   struct rt_sigframe *rt_;
openSUSE Build Service is sponsored by