Переглянути джерело

add patch fixing mips libgcc_eh build not to depend on kernel headers

Rich Felker 9 роки тому
батько
коміт
0a16a12799
1 змінених файлів з 11 додано та 0 видалено
  1. 11 0
      patches/gcc-5.2.0/0009-mipsdw.diff

+ 11 - 0
patches/gcc-5.2.0/0009-mipsdw.diff

@@ -0,0 +1,11 @@
+--- libgcc/config/mips/linux-unwind.h.orig	2016-04-07 23:08:58.088577977 +0000
++++ libgcc/config/mips/linux-unwind.h	2016-04-07 23:04:34.016523639 +0000
+@@ -27,7 +27,7 @@
+    state data appropriately.  See unwind-dw2.c for the structs.  */
+ 
+ #include <signal.h>
+-#include <asm/unistd.h>
++#include <sys/syscall.h>
+ 
+ /* The third parameter to the signal handler points to something with
+  * this structure defined in asm/ucontext.h, but the name clashes with