Explorar el Código

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

Rich Felker hace 9 años
padre
commit
0a16a12799
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  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