4.7.1-1
This commit is contained in:
parent
b1be385d8b
commit
8eaabf978c
2
gcc.spec
2
gcc.spec
@ -174,6 +174,7 @@ Patch12: gcc47-libstdc++-docs.patch
|
|||||||
Patch13: gcc47-no-add-needed.patch
|
Patch13: gcc47-no-add-needed.patch
|
||||||
Patch14: gcc47-ppl-0.10.patch
|
Patch14: gcc47-ppl-0.10.patch
|
||||||
Patch15: gcc47-libitm-fno-exceptions.patch
|
Patch15: gcc47-libitm-fno-exceptions.patch
|
||||||
|
Patch16: gcc47-libgo-mksysinfo.patch
|
||||||
|
|
||||||
Patch1000: fastjar-0.97-segfault.patch
|
Patch1000: fastjar-0.97-segfault.patch
|
||||||
Patch1001: fastjar-0.97-len1.patch
|
Patch1001: fastjar-0.97-len1.patch
|
||||||
@ -675,6 +676,7 @@ package or when debugging this package.
|
|||||||
%patch14 -p0 -b .ppl-0.10~
|
%patch14 -p0 -b .ppl-0.10~
|
||||||
%endif
|
%endif
|
||||||
%patch15 -p0 -b .libitm-fno-exceptions~
|
%patch15 -p0 -b .libitm-fno-exceptions~
|
||||||
|
%patch16 -p0 -b .libgo-mksysinfo~
|
||||||
|
|
||||||
%if 0%{?_enable_debug_packages}
|
%if 0%{?_enable_debug_packages}
|
||||||
cat > split-debuginfo.sh <<\EOF
|
cat > split-debuginfo.sh <<\EOF
|
||||||
|
15
gcc47-libgo-mksysinfo.patch
Normal file
15
gcc47-libgo-mksysinfo.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- libgo/mksysinfo.sh 2012-06-29 14:23:30.684708901 +0200
|
||||||
|
+++ libgo/mksysinfo.sh 2012-06-29 14:23:20.782761973 +0200
|
||||||
|
@@ -522,10 +522,10 @@ grep '^const _DT_' gen-sysinfo.go |
|
||||||
|
# The rusage struct.
|
||||||
|
rusage=`grep '^type _rusage struct' gen-sysinfo.go`
|
||||||
|
if test "$rusage" != ""; then
|
||||||
|
- rusage=`echo $rusage | sed -e 's/type _rusage struct //' -e 's/[{}]//g'`
|
||||||
|
- rusage=`echo $rusage | sed -e 's/^ *//'`
|
||||||
|
# Remove anonymous unions from GNU/Linux <bits/resource.h>.
|
||||||
|
rusage=`echo $rusage | sed -e 's/Godump_[0-9]* struct {\([^}]*\)};/\1/g'`
|
||||||
|
+ rusage=`echo $rusage | sed -e 's/type _rusage struct //' -e 's/[{}]//g'`
|
||||||
|
+ rusage=`echo $rusage | sed -e 's/^ *//'`
|
||||||
|
nrusage=
|
||||||
|
while test -n "$rusage"; do
|
||||||
|
field=`echo $rusage | sed -e 's/^\([^;]*\);.*$/\1/'`
|
Loading…
Reference in New Issue
Block a user