/usr/share/cross-gcc/patches/gcc-7/0003-Compilers-now-depend-on-cpp-instead-of-gcc-base.patch is in cross-gcc-dev 176.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | From 210e390508a5efe37c17600cf44f5dd885a707cc Mon Sep 17 00:00:00 2001
From: Dima Kogan <dima@secretsauce.net>
Date: Fri, 28 Nov 2014 21:54:51 -0800
Subject: [PATCH 03/10] Compilers now depend on cpp instead of gcc-base
that's where the doc-package links came from when crossing, so the dep on
gcc-base was wrong.
---
debian/control.m4 | 4 ++--
debian/rules.conf | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/control.m4 b/debian/control.m4
index c826adb..61e66b2 100644
--- a/debian/control.m4
+++ b/debian/control.m4
@@ -861,7 +861,7 @@ ifdef(`TARGET',`Multi-Arch: foreign
')dnl
Section: devel
Priority: optional
-Depends: BASEDEP, gcc`'PV`'TS (= ${gcc:Version}), libidevdep(stdc++`'PV-dev,,=), ${shlibs:Depends}, ${misc:Depends}
+Depends: ${dep:crossbase}, gcc`'PV`'TS (= ${gcc:Version}), libidevdep(stdc++`'PV-dev,,=), ${shlibs:Depends}, ${misc:Depends}
Provides: c++-compiler`'TS`'ifdef(`TARGET)',`',`, c++abi2-dev')
Suggests: ${gxx:multilib}, gcc`'PV-doc (>= ${gcc:SoftVersion}), libdbgdep(stdc++CXX_SO`'PV-dbg,)
BUILT_USING`'dnl
@@ -3761,7 +3761,7 @@ Architecture: any
ifdef(`TARGET',`Multi-Arch: foreign
')dnl
Priority: optional
-Depends: BASEDEP, gcc`'PV`'TS (= ${gcc:Version}), libidevdep(gfortran`'PV-dev,,=), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${dep:crossbase}, gcc`'PV`'TS (= ${gcc:Version}), libidevdep(gfortran`'PV-dev,,=), ${dep:libcdev}, ${shlibs:Depends}, ${misc:Depends}
Provides: fortran95-compiler, ${fortran:mod-version}
Suggests: ${gfortran:multilib}, gfortran`'PV-doc,
libdbgdep(gfortran`'FORTRAN_SO-dbg,),
diff --git a/debian/rules.conf b/debian/rules.conf
index 862ab5d..1ebdb5f 100644
--- a/debian/rules.conf
+++ b/debian/rules.conf
@@ -1191,6 +1191,8 @@ endif
ifeq ($(DEB_CROSS),yes)
echo 'dep:gdccross=gdc$(pkg_ver) (>= $(DEB_GCC_SOFT_VERSION))' \
>> debian/substvars.local.tmp
+ echo 'dep:crossbase=cpp$(pkg_ver)$(TS) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
endif
ifeq ($(with_libphobos),yes)
echo 'dep:phobosdev=libgphobos$(pkg_ver)-dev$(LS)$(AQ) (>= $(DEB_GCC_SOFT_VERSION))' \
--
2.14.1
|