summaryrefslogtreecommitdiff
path: root/debian/patches/gcc-gfdl-build.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/gcc-gfdl-build.diff')
-rw-r--r--debian/patches/gcc-gfdl-build.diff7
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/patches/gcc-gfdl-build.diff b/debian/patches/gcc-gfdl-build.diff
index cce9729..1d4c482 100644
--- a/debian/patches/gcc-gfdl-build.diff
+++ b/debian/patches/gcc-gfdl-build.diff
@@ -1,10 +1,8 @@
# DP: Build a dummy s-tm-texi without access to the texinfo sources
-Index: b/src/gcc/Makefile.in
-===================================================================
--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
-@@ -2312,30 +2312,8 @@ s-tm-texi: $(srcdir)/doc/../doc/tm.texi
+@@ -2472,31 +2472,8 @@ s-tm-texi: $(srcdir)/doc/../doc/tm.texi
# \r is not portable to Solaris tr, therefore we have a special
# case for ASCII. We use \r for other encodings like EBCDIC.
s-tm-texi: build/genhooks$(build_exeext) $(srcdir)/doc/tm.texi.in
@@ -22,6 +20,7 @@ Index: b/src/gcc/Makefile.in
- && ( test $(srcdir)/doc/tm.texi -nt $(srcdir)/target.def \
- || test $(srcdir)/doc/tm.texi -nt $(srcdir)/c-family/c-target.def \
- || test $(srcdir)/doc/tm.texi -nt $(srcdir)/common/common-target.def \
+- || test $(srcdir)/doc/tm.texi -nt $(srcdir)/d/d-target.def \
- ); then \
- echo >&2 ; \
- echo You should edit $(srcdir)/doc/tm.texi.in rather than $(srcdir)/doc/tm.texi . >&2 ; \
@@ -29,7 +28,7 @@ Index: b/src/gcc/Makefile.in
- else \
- echo >&2 ; \
- echo Verify that you have permission to grant a GFDL license for all >&2 ; \
-- echo new text in tm.texi, then copy it to $(srcdir)/doc/tm.texi. >&2 ; \
+- echo new text in $(objdir)/tm.texi, then copy it to $(srcdir)/doc/tm.texi. >&2 ; \
- false; \
- fi
+ cat $(srcdir)/doc/tm.texi.in > tmp-tm.texi