diff options
author | 2024-02-20 20:56:47 +0200 | |
---|---|---|
committer | 2024-02-20 20:56:47 +0200 | |
commit | e1cb0e5e10e429f7b03677c75e196a4feab52a4e (patch) | |
tree | 9544f36c911e0ec1ae3ecee2c542b6f75a71cc67 | |
parent | dev-util/dub: drop 1.35.1-r1 (diff) | |
download | dlang-e1cb0e5e10e429f7b03677c75e196a4feab52a4e.tar.gz dlang-e1cb0e5e10e429f7b03677c75e196a4feab52a4e.tar.bz2 dlang-e1cb0e5e10e429f7b03677c75e196a4feab52a4e.zip |
dev-util/dub/files: remove unused patches
Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
-rw-r--r-- | dev-util/dub/files/dub-1.29.0-gdc-dmd-pathfix.patch | 16 | ||||
-rw-r--r-- | dev-util/dub/files/dub-1.33.0-gdc-dmd-pathfix.patch | 18 |
2 files changed, 0 insertions, 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; |