commit: e1cb0e5e10e429f7b03677c75e196a4feab52a4e
Author: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Tue Feb 20 18:56:47 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Tue Feb 20 18:56:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e1cb0e5e
dev-util/dub/files: remove unused patches
Signed-off-by: Horodniceanu Andrei <a.horodniceanu <AT> proton.me>
dev-util/dub/files/dub-1.29.0-gdc-dmd-pathfix.patch | 16 ----------------
dev-util/dub/files/dub-1.33.0-gdc-dmd-pathfix.patch | 18 ------------------
2 files changed, 34 deletions(-)
diff --git a/dev-util/dub/files/dub-1.29.0-gdc-dmd-pathfix.patch
b/dev-util/dub/files/dub-1.29.0-gdc-dmd-pathfix.patch
deleted file mode 100644
index 497ef50..0000000
--- a/dev-util/dub/files/dub-1.29.0-gdc-dmd-pathfix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d
---- a/source/dub/generators/build.d
-+++ b/source/dub/generators/build.d
-@@ -119,10 +119,10 @@ class BuildGenerator : ProjectGenerator {
- auto build_id = computeBuildID(config, buildsettings, settings);
-
- // make all paths relative to shrink the command line
-- string makeRelative(string path) { return
shrinkPath(NativePath(path), cwd); }
-+ /+string makeRelative(string path) { return
shrinkPath(NativePath(path), cwd); }
- foreach (ref f; buildsettings.sourceFiles) f = makeRelative(f);
- foreach (ref p; buildsettings.importPaths) p = makeRelative(p);
-- foreach (ref p; buildsettings.stringImportPaths) p =
makeRelative(p);
-+ foreach (ref p; buildsettings.stringImportPaths) p =
makeRelative(p);+/
-
- // perform the actual build
- bool cached = false;
diff --git a/dev-util/dub/files/dub-1.33.0-gdc-dmd-pathfix.patch
b/dev-util/dub/files/dub-1.33.0-gdc-dmd-pathfix.patch
deleted file mode 100644
index a32d54b..0000000
--- a/dev-util/dub/files/dub-1.33.0-gdc-dmd-pathfix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d
-index 8583eab..fc9a6d9 100644
---- a/source/dub/generators/build.d
-+++ b/source/dub/generators/build.d
-@@ -211,11 +211,11 @@ class BuildGenerator : ProjectGenerator {
- auto build_id = buildsettings.computeBuildID(config, settings);
-
- // make all paths relative to shrink the command line
-- string makeRelative(string path) { return
shrinkPath(NativePath(path), cwd); }
-+ /+string makeRelative(string path) { return
shrinkPath(NativePath(path), cwd); }
- foreach (ref f; buildsettings.sourceFiles) f = makeRelative(f);
- foreach (ref p; buildsettings.importPaths) p = makeRelative(p);
- foreach (ref p; buildsettings.cImportPaths) p = makeRelative(p);
-- foreach (ref p; buildsettings.stringImportPaths) p =
makeRelative(p);
-+ foreach (ref p; buildsettings.stringImportPaths) p =
makeRelative(p);+/
-
- // perform the actual build
- bool cached = false;