[avr-gcc] fix FTBS: incompatible changes in TeX
Michal Hlavinka
mhlavink at fedoraproject.org
Fri Feb 22 14:34:31 UTC 2013
commit 0a7db1fbffa3e7ff9d41cc259cb6a7c664c901c5
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Fri Feb 22 15:34:26 2013 +0100
fix FTBS: incompatible changes in TeX
- updated to 4.7.3 pre-release
.gitignore | 1 +
avr-gcc-4.7.2-texfix.patch | 98 ++++++++++++++++++++++++++++++++++++++++++++
avr-gcc.spec | 15 +++++--
sources | 2 +-
4 files changed, 111 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ac8cccf..d383cae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ gcc-g++-4.5.1.tar.bz2
/gcc-core-4.6.3.tar.bz2
/gcc-g++-4.6.3.tar.bz2
/gcc-4.7.2.tar.bz2
+/gcc-4.7-20130216.tar.bz2
diff --git a/avr-gcc-4.7.2-texfix.patch b/avr-gcc-4.7.2-texfix.patch
new file mode 100644
index 0000000..dd6e718
--- /dev/null
+++ b/avr-gcc-4.7.2-texfix.patch
@@ -0,0 +1,98 @@
+diff -up avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/cppopts.texi.texfix avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/cppopts.texi
+--- avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/cppopts.texi.texfix 2013-02-22 13:21:18.131286192 +0100
++++ avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/cppopts.texi 2013-02-22 13:21:59.144622702 +0100
+@@ -803,7 +803,7 @@ Replacement: [ ] @{ @}
+ Enable special code to work around file systems which only permit very
+ short file names, such as MS-DOS at .
+
+- at itemx --help
++ at item --help
+ @itemx --target-help
+ @opindex help
+ @opindex target-help
+diff -up avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/generic.texi.texfix avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/generic.texi
+--- avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/generic.texi.texfix 2013-02-22 13:38:47.362661826 +0100
++++ avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/generic.texi 2013-02-22 13:39:17.923748545 +0100
+@@ -1415,13 +1415,13 @@ generate these expressions anyhow, if it
+ not matter. The type of the operands and that of the result are
+ always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}.
+
+- at itemx POINTER_PLUS_EXPR
++ at item POINTER_PLUS_EXPR
+ This node represents pointer arithmetic. The first operand is always
+ a pointer/reference type. The second operand is always an unsigned
+ integer type compatible with sizetype. This is the only binary
+ arithmetic operand that can operate on pointer types.
+
+- at itemx PLUS_EXPR
++ at item PLUS_EXPR
+ @itemx MINUS_EXPR
+ @itemx MULT_EXPR
+ These nodes represent various binary arithmetic operations.
+diff -up avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/invoke.texi.texfix avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/invoke.texi
+--- avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/invoke.texi.texfix 2013-02-22 13:35:07.019895748 +0100
++++ avr-gcc-4.7.2/gcc-4.7.2/gcc/doc/invoke.texi 2013-02-22 13:36:29.877849458 +0100
+@@ -5179,7 +5179,7 @@ thus dbg_cnt() returns true always unles
+ e.g. With -fdbg-cnt=dce:10,tail_call:0
+ dbg_cnt(dce) will return true only for first 10 invocations
+
+- at itemx -fenable- at var{kind}- at var{pass}
++ at item -fenable- at var{kind}- at var{pass}
+ @itemx -fdisable- at var{kind}- at var{pass}=@var{range-list}
+ @opindex fdisable-
+ @opindex fenable-
+@@ -5327,11 +5327,11 @@ Dump after duplicating the computed goto
+ @option{-fdump-rtl-ce3} enable dumping after the three
+ if conversion passes.
+
+- at itemx -fdump-rtl-cprop_hardreg
++ at item -fdump-rtl-cprop_hardreg
+ @opindex fdump-rtl-cprop_hardreg
+ Dump after hard register copy propagation.
+
+- at itemx -fdump-rtl-csa
++ at item -fdump-rtl-csa
+ @opindex fdump-rtl-csa
+ Dump after combining stack adjustments.
+
+@@ -5342,11 +5342,11 @@ Dump after combining stack adjustments.
+ @option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after
+ the two common sub-expression elimination passes.
+
+- at itemx -fdump-rtl-dce
++ at item -fdump-rtl-dce
+ @opindex fdump-rtl-dce
+ Dump after the standalone dead code elimination passes.
+
+- at itemx -fdump-rtl-dbr
++ at item -fdump-rtl-dbr
+ @opindex fdump-rtl-dbr
+ Dump after delayed branch scheduling.
+
+@@ -5391,7 +5391,7 @@ Dump after the initialization of the reg
+ @opindex fdump-rtl-initvals
+ Dump after the computation of the initial value sets.
+
+- at itemx -fdump-rtl-into_cfglayout
++ at item -fdump-rtl-into_cfglayout
+ @opindex fdump-rtl-into_cfglayout
+ Dump after converting to cfglayout mode.
+
+@@ -5421,7 +5421,7 @@ Dump after removing redundant mode switc
+ @opindex fdump-rtl-rnreg
+ Dump after register renumbering.
+
+- at itemx -fdump-rtl-outof_cfglayout
++ at item -fdump-rtl-outof_cfglayout
+ @opindex fdump-rtl-outof_cfglayout
+ Dump after converting from cfglayout mode.
+
+@@ -5433,7 +5433,7 @@ Dump after the peephole pass.
+ @opindex fdump-rtl-postreload
+ Dump after post-reload optimizations.
+
+- at itemx -fdump-rtl-pro_and_epilogue
++ at item -fdump-rtl-pro_and_epilogue
+ @opindex fdump-rtl-pro_and_epilogue
+ Dump after generating the function prologues and epilogues.
+
diff --git a/avr-gcc.spec b/avr-gcc.spec
index 7c68510..30816a4 100644
--- a/avr-gcc.spec
+++ b/avr-gcc.spec
@@ -1,16 +1,17 @@
%define target avr
Name: %{target}-gcc
-Version: 4.7.2
-Release: 2%{?dist}
+Version: 4.7.3
+Release: 0.1%{?dist}
Summary: Cross Compiling GNU GCC targeted at %{target}
Group: Development/Languages
License: GPLv2+
URL: http://gcc.gnu.org/
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-4.7-20130216.tar.bz2
Source2: README.fedora
Patch0: avr-gcc-4.5.3-mint8.patch
+Patch1: avr-gcc-4.7.2-texfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildRequires: %{target}-binutils >= 1:2.23, zlib-devel gawk gmp-devel mpfr-devel libmpc-devel, flex
@@ -36,9 +37,11 @@ platform.
%prep
%setup -q -c
-pushd gcc-%{version}
+mv gcc-4.7-* gcc-%{version}
+pushd gcc-%{version}
%patch0 -p0
+%patch1 -p2 -b .texfix
contrib/gcc_update --touch
popd
@@ -124,6 +127,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Feb 22 2013 Michal Hlavinka <mhlavink at redhat.com> - 4.7.3-0.1
+- fix FTBS: incompatible changes in TeX
+- updated to 4.7.3 pre-release
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index a9c249b..a601556 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cc308a0891e778cfda7a151ab8a6e762 gcc-4.7.2.tar.bz2
+8db64f4fb7bf8b3038a0cf81b66bafdd gcc-4.7-20130216.tar.bz2
More information about the scm-commits
mailing list