summaryrefslogtreecommitdiffstats
path: root/abs/core/gcc/gdc_phobos_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gcc/gdc_phobos_path.patch')
-rw-r--r--abs/core/gcc/gdc_phobos_path.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/gcc/gdc_phobos_path.patch b/abs/core/gcc/gdc_phobos_path.patch
new file mode 100644
index 0000000..6f43b6e
--- /dev/null
+++ b/abs/core/gcc/gdc_phobos_path.patch
@@ -0,0 +1,14 @@
+diff -Naur a/gcc/d/d-incpath.cc b/gcc/d/d-incpath.cc
+--- a/gcc/d/d-incpath.cc 2019-01-01 13:31:55.000000000 +0100
++++ b/gcc/d/d-incpath.cc 2019-06-28 08:32:00.326241502 +0200
+@@ -140,7 +140,7 @@
+ path = xstrdup (p->fname);
+
+ /* Add D-specific suffix. */
+- path = concat (path, "/d", NULL);
++ path = concat (path, "/dlang/gdc", NULL);
+
+ /* Ignore duplicate entries. */
+ bool found = false;
+
+