public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dub/files/
@ 2024-02-20 18:59 Horodniceanu Andrei
  0 siblings, 0 replies; only message in thread
From: Horodniceanu Andrei @ 2024-02-20 18:59 UTC (permalink / raw
  To: gentoo-commits

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;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-20 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20 18:59 [gentoo-commits] repo/user/dlang:master commit in: dev-util/dub/files/ Horodniceanu Andrei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox