mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 09:22:17 +08:00
Add patches
This commit is contained in:
parent
04c27fb640
commit
d626937d01
12
gcc-multilib/gcc-4.7.1-libada-pic.patch
Normal file
12
gcc-multilib/gcc-4.7.1-libada-pic.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur gcc-4.7.1-orig/libada/Makefile.in gcc-4.7.1/libada/Makefile.in
|
||||
--- gcc-4.7.1-orig/libada/Makefile.in 2012-06-13 01:12:37.000000000 +1000
|
||||
+++ gcc-4.7.1/libada/Makefile.in 2012-06-16 15:04:32.179911023 +1000
|
||||
@@ -54,7 +54,7 @@
|
||||
PICFLAG = @PICFLAG@
|
||||
GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc
|
||||
GNATLIBCFLAGS= -g -O2
|
||||
-GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) \
|
||||
+GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) $(PICFLAG) \
|
||||
-fexceptions -DIN_RTS @have_getipinfo@
|
||||
|
||||
host_subdir = @host_subdir@
|
12
gcc-multilib/gcc-4.7.1-libgo-write.patch
Normal file
12
gcc-multilib/gcc-4.7.1-libgo-write.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur gcc-4.7.1-orig/libgo/runtime/print.c gcc-4.7.1/libgo/runtime/print.c
|
||||
--- gcc-4.7.1-orig/libgo/runtime/print.c 2012-05-26 04:22:14.000000000 +1000
|
||||
+++ gcc-4.7.1/libgo/runtime/print.c 2012-06-16 15:06:28.553138502 +1000
|
||||
@@ -17,7 +17,8 @@
|
||||
G* g = runtime_g();
|
||||
|
||||
if(g == nil || g->writebuf == nil) {
|
||||
- runtime_write(2, v, n);
|
||||
+ ssize_t bytesWritten = runtime_write(2, v, n);
|
||||
+ (void)bytesWritten;
|
||||
return;
|
||||
}
|
Loading…
Reference in New Issue
Block a user