summarylogtreecommitdiffstats
path: root/gdc_phobos_path.patch
diff options
context:
space:
mode:
authorVladislav Nepogodin2021-10-30 23:19:42 +0400
committerVladislav Nepogodin2021-10-30 23:19:42 +0400
commite34c49b4be2bb84cf4c8be85f1d71eee928df8e8 (patch)
tree1ea957a20b68ee2a9d1cdbb942463ddf8115f9e4 /gdc_phobos_path.patch
downloadaur-e34c49b4be2bb84cf4c8be85f1d71eee928df8e8.tar.gz
🎉 initial commit
Diffstat (limited to 'gdc_phobos_path.patch')
-rw-r--r--gdc_phobos_path.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdc_phobos_path.patch b/gdc_phobos_path.patch
new file mode 100644
index 000000000000..6f43b6ee7a96
--- /dev/null
+++ b/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;
+
+