summaryrefslogtreecommitdiff
path: root/debian/patches/canonical-cpppath.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-18 15:53:29 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-18 15:53:29 +0300
commit8f6c4b0033c72f8ac14694c419a99458339dd6a9 (patch)
tree06c106e622a58100aa85a381b9b65d222b076df4 /debian/patches/canonical-cpppath.diff
parent42156b5190f4fa150e1fab6777eb81e69d4db8c9 (diff)
downloadgcc-9-debian.tar.gz
Import gcc-9 (9.2.1-19)debian/9.2.1-19debian
Diffstat (limited to 'debian/patches/canonical-cpppath.diff')
-rw-r--r--debian/patches/canonical-cpppath.diff10
1 files changed, 4 insertions, 6 deletions
diff --git a/debian/patches/canonical-cpppath.diff b/debian/patches/canonical-cpppath.diff
index 0e0090f..c234d1c 100644
--- a/debian/patches/canonical-cpppath.diff
+++ b/debian/patches/canonical-cpppath.diff
@@ -1,10 +1,8 @@
# DP: Don't use any relative path names for the standard include paths.
-Index: b/src/gcc/incpath.c
-===================================================================
--- a/src/gcc/incpath.c
+++ b/src/gcc/incpath.c
-@@ -171,6 +171,14 @@ add_standard_paths (const char *sysroot,
+@@ -172,6 +172,14 @@ add_standard_paths (const char *sysroot,
str = reconcat (str, str, dir_separator_str,
imultiarch, NULL);
}
@@ -16,10 +14,10 @@ Index: b/src/gcc/incpath.c
+ str = rp;
+ }
+ }
- add_path (str, SYSTEM, p->cxx_aware, false);
+ add_path (str, INC_SYSTEM, p->cxx_aware, false);
}
}
-@@ -245,6 +253,14 @@ add_standard_paths (const char *sysroot,
+@@ -246,6 +254,14 @@ add_standard_paths (const char *sysroot,
else
str = reconcat (str, str, dir_separator_str, imultiarch, NULL);
}
@@ -32,5 +30,5 @@ Index: b/src/gcc/incpath.c
+ }
+ }
- add_path (str, SYSTEM, p->cxx_aware, false);
+ add_path (str, INC_SYSTEM, p->cxx_aware, false);
}